org.jboss.security.jacc
Class SecurityService
java.lang.Object
org.jboss.security.jacc.SecurityService
- public class SecurityService
- extends java.lang.Object
The SecurityService installs a java.security.Policy implementation that
handles the JACC permission checks. The Policy provider can be done using the
standard javax.security.jacc.policy.provider system property, or by setting
the PolicyName attribute to an mbean which supports a Policy attribute of
type java.security.Policy.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityService
public SecurityService()
getPolicyName
public ObjectName (src) getPolicyName()
setPolicyName
public void setPolicyName(ObjectName (src) policyName)
getPolicyAttributeName
public java.lang.String getPolicyAttributeName()
setPolicyAttributeName
public void setPolicyAttributeName(java.lang.String policyAttributeName)
getMBeanServer
public MBeanServer (src) getMBeanServer()
setMBeanServer
public void setMBeanServer(MBeanServer (src) server)
start
public void start()
throws java.lang.Exception
- The following permissions are required:
java.security.SecurityPermission("getPolicy")
java.security.SecurityPermission("setPolicy")
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception