Re: how to set java.security.policy programmatically using java

Rajneesh Bhandari <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Hi Prasad,
   java.security.policy is a system properties and you
can try with System.setProperty.. It should work out
.. Please update me about it ..?
Regard,
Rajneesh Bhandari

--- Prasad kadbane <[email protected]> wrote:
> Hello,
>
>         In RMI to bind object I am using command
> java -Djava.security.policy=policyFilePath
> myserver.myClass
> but I want to bind object programmatically does
> anybody knows how to
> set this policy file path or policies
> programmatically.
>
> please help me
> thanks in advance
>
>
>
> --
> Prasad Kadbane.
> Software Engineer
> Vyom Labs Pvt. Ltd.
> Pune (Maharastra).
>
>
===========================================================================
> To unsubscribe, send email to [email protected]
> and include in the body
> of the message "signoff RMI-USERS".  For general
> help, send email to
> [email protected] and include in the body of the
> message "help".
>
> For a list of frequently asked RMI questions please
> refer to:
> http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html
>
> To view past RMI-USERS postings, please see:
> http://archives.java.sun.com/archives/rmi-users.html
>

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.