You start with a security manager using:
bin 564> export
JAVA_OPTS="-Djava.security.manager -Djava.security.policy=../conf/default/se
rver.policy"
bin 564> ./run.sh
The SecurityPolicySerivce only augments the standard policy info with
Subject based
permissions. It does not provide an implementation of the standard Java2
security
Policy.
----- Original Message -----
From: "David Maplesden" <[EMAIL PROTECTED]>
To: "JBossDev (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, September 03, 2001 9:09 PM
Subject: [JBoss-dev] RH startup and JBossMQ
> PS: I have also had issues with the security mechanisms in RH. The
problem
> is that currently it ignores the server.policy file, which usually is fine
> since no SecurityManager is installed. However we have a custom service
we
> are writing that uses RMI and hence requires a SecurityManager.
> Unfortunately as soon as we install one because the server.policy file has
> not been loaded there are all sorts of access restrictions that come into
> play that effectively stuff the whole server.
>
> I tried to fix this by using the SecurityPolicyService mbean to implement
a
> security policy but it uses an xml policy file and I can't seem to get the
> right syntax for it. I took an educated guess (based on one in the test
> directory of the security module) but it doesn't seem to work. If anyone
> has any ideas (Scott this is your area, right?) then I would appreciate a
> helping hand. What I am basically asking for is a pointer to the correct
> syntax for the xml file or how to run jboss using a convential policy file
> (like server.policy).
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development