org.apache.openejb.core.security
Class JaccProvider
java.lang.Object
org.apache.openejb.core.security.JaccProvider
- Direct Known Subclasses:
- BasicJaccProvider
public abstract class JaccProvider
- extends Object
- Version:
- $Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaccProvider
public JaccProvider()
get
public static JaccProvider get()
set
public static void set(JaccProvider provider)
install
public static void install()
throws ClassNotFoundException,
javax.security.jacc.PolicyContextException
- This static method uses a system property to find and instantiate (via a
public constructor) a provider specific factory implementation class.
The name of the provider specific factory implementation class is
obtained from the value of the system property,
org.apache.openejb.security.JaccProvider
.
PolicyConfigurationFactory implementation class.
- Throws:
ClassNotFoundException
- when the class named by the system
property could not be found including because the value of the system
property has not be set.
javax.security.jacc.PolicyContextException
- if the implementation throws a checked
exception that has not been accounted for by the
getPolicyConfigurationFactory method signature. The exception thrown by
the implementation class will be encapsulated (during construction) in
the thrown PolicyContextException
getPolicyConfiguration
public abstract javax.security.jacc.PolicyConfiguration getPolicyConfiguration(String contextID,
boolean remove)
throws javax.security.jacc.PolicyContextException
- Throws:
javax.security.jacc.PolicyContextException
inService
public abstract boolean inService(String contextID)
throws javax.security.jacc.PolicyContextException
- Throws:
javax.security.jacc.PolicyContextException
getPermissions
public abstract PermissionCollection getPermissions(CodeSource codesource)
refresh
public abstract void refresh()
implies
public abstract boolean implies(ProtectionDomain domain,
Permission permission)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.