当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
PortalPolicyConfiguration - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.security.impl.jacc
Class PortalPolicyConfiguration
java.lang.Object
org.jboss.portal.security.impl.jacc.PortalPolicyConfiguration
- All Implemented Interfaces:
- javax.security.jacc.PolicyConfiguration
- public final class PortalPolicyConfiguration
- extends java.lang.Object
- implements javax.security.jacc.PolicyConfiguration
Ripoff of the appserver's factory.
This is needed to a temp. workaround until we can fix the appserver's DelegatingPolicy
to acomodate the features we need in the portal.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalPolicyConfiguration
protected PortalPolicyConfiguration(java.lang.String contextID,
PortalJaccPolicy policy,
org.jboss.util.state.StateMachine configStateMachine)
throws javax.security.jacc.PolicyContextException
addToExcludedPolicy
public void addToExcludedPolicy(java.security.Permission permission)
throws javax.security.jacc.PolicyContextException
- Specified by:
addToExcludedPolicy
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
addToExcludedPolicy
public void addToExcludedPolicy(java.security.PermissionCollection permissions)
throws javax.security.jacc.PolicyContextException
- Specified by:
addToExcludedPolicy
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
addToRole
public void addToRole(java.lang.String roleName,
java.security.Permission permission)
throws javax.security.jacc.PolicyContextException
- Specified by:
addToRole
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
addToRole
public void addToRole(java.lang.String roleName,
java.security.PermissionCollection permissions)
throws javax.security.jacc.PolicyContextException
- Specified by:
addToRole
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
addToUncheckedPolicy
public void addToUncheckedPolicy(java.security.Permission permission)
throws javax.security.jacc.PolicyContextException
- Specified by:
addToUncheckedPolicy
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
addToUncheckedPolicy
public void addToUncheckedPolicy(java.security.PermissionCollection permissions)
throws javax.security.jacc.PolicyContextException
- Specified by:
addToUncheckedPolicy
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
commit
public void commit()
throws javax.security.jacc.PolicyContextException
- Specified by:
commit
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
delete
public void delete()
throws javax.security.jacc.PolicyContextException
- Specified by:
delete
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
getContextID
public java.lang.String getContextID()
throws javax.security.jacc.PolicyContextException
- Specified by:
getContextID
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
inService
public boolean inService()
throws javax.security.jacc.PolicyContextException
- Specified by:
inService
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
linkConfiguration
public void linkConfiguration(javax.security.jacc.PolicyConfiguration link)
throws javax.security.jacc.PolicyContextException
- Specified by:
linkConfiguration
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
removeExcludedPolicy
public void removeExcludedPolicy()
throws javax.security.jacc.PolicyContextException
- Specified by:
removeExcludedPolicy
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
removeRole
public void removeRole(java.lang.String roleName)
throws javax.security.jacc.PolicyContextException
- Specified by:
removeRole
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
removeUncheckedPolicy
public void removeUncheckedPolicy()
throws javax.security.jacc.PolicyContextException
- Specified by:
removeUncheckedPolicy
in interface javax.security.jacc.PolicyConfiguration
- Throws:
javax.security.jacc.PolicyContextException
validateState
protected void validateState(java.lang.String action)
throws javax.security.jacc.PolicyContextException
- Throws:
javax.security.jacc.PolicyContextException