当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
JACCPortalPermissionCollection - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.security.impl.jacc
Class JACCPortalPermissionCollection
java.lang.Object
java.security.PermissionCollection
org.jboss.portal.security.PortalPermissionCollection
org.jboss.portal.security.impl.jacc.JACCPortalPermissionCollection
- All Implemented Interfaces:
- java.io.Serializable
- public class JACCPortalPermissionCollection
- extends PortalPermissionCollection
Implementation of the portal permission collection that keep the role name on itself.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
roleName
The role name of the permission container. |
private static long |
serialVersionUID
The serialVersionUID |
Fields inherited from class java.security.PermissionCollection |
|
Method Summary |
java.util.Enumeration |
elements()
|
javax.security.auth.Subject |
getCaller()
Return the subject being used or null. |
java.lang.String |
getRoleName()
Return the role name attached to the collection. |
Methods inherited from class java.security.PermissionCollection |
isReadOnly, setReadOnly, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The serialVersionUID
- See Also:
- Constant Field Values
roleName
private java.lang.String roleName
- The role name of the permission container.
JACCPortalPermissionCollection
public JACCPortalPermissionCollection(java.lang.String roleName,
AuthorizationDomain repository)
throws java.lang.IllegalArgumentException
getRoleName
public java.lang.String getRoleName()
- Description copied from class:
PortalPermissionCollection
- Return the role name attached to the collection.
- Specified by:
getRoleName
in class PortalPermissionCollection
- Returns:
- the role name
elements
public java.util.Enumeration elements()
- Specified by:
elements
in class PortalPermissionCollection
getCaller
public javax.security.auth.Subject getCaller()
- Description copied from class:
PortalPermissionCollection
- Return the subject being used or null.
- Specified by:
getCaller
in class PortalPermissionCollection
- Returns:
- the current subject