站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

JACCPortalPermissionCollection - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.security.impl.jacc
Class JACCPortalPermissionCollection

java.lang.Object
  extended byjava.security.PermissionCollection
      extended byorg.jboss.portal.security.PortalPermissionCollection
          extended byorg.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 org.jboss.portal.security.PortalPermissionCollection
 
Fields inherited from class java.security.PermissionCollection
 
Constructor Summary
JACCPortalPermissionCollection(java.lang.String roleName, AuthorizationDomain repository)
           
 
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 org.jboss.portal.security.PortalPermissionCollection
add, implies
 
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
 

Field Detail

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.

Constructor Detail

JACCPortalPermissionCollection

public JACCPortalPermissionCollection(java.lang.String roleName,
                                      AuthorizationDomain repository)
                               throws java.lang.IllegalArgumentException
Method Detail

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