org.jboss.security.jacc
Class SecurityService
java.lang.Object
org.jboss.security.jacc.SecurityService
public class SecurityService
- extends 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.
- Version:
- $Revision: 57203 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityService
public SecurityService()
getPolicyName
public javax.management.ObjectName getPolicyName()
setPolicyName
public void setPolicyName(javax.management.ObjectName policyName)
getPolicyAttributeName
public String getPolicyAttributeName()
setPolicyAttributeName
public void setPolicyAttributeName(String policyAttributeName)
getMBeanServer
public javax.management.MBeanServer getMBeanServer()
setMBeanServer
public void setMBeanServer(javax.management.MBeanServer server)
start
public void start()
throws Exception
- The following permissions are required:
java.security.SecurityPermission("getPolicy")
java.security.SecurityPermission("setPolicy")
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.