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

java.lang.Object
  extended byorg.jboss.portal.security.impl.jacc.JACCPortalPrincipal
All Implemented Interfaces:
java.security.Principal

public class JACCPortalPrincipal
extends java.lang.Object
implements java.security.Principal

This principal purpose is to cache some computation necessary to make the portal JACC integration work.


Constructor Summary
JACCPortalPrincipal(javax.security.auth.Subject subject)
           
 
Method Summary
 java.lang.String getName()
           
 java.security.Principal[] getPrincipals()
          The principals owned.
 java.util.Set getRoles()
          Return the set of roles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

JACCPortalPrincipal

public JACCPortalPrincipal(javax.security.auth.Subject subject)
Method Detail

getRoles

public java.util.Set getRoles()
Return the set of roles.

Returns:
the roles

getPrincipals

public java.security.Principal[] getPrincipals()
The principals owned.

Returns:
the principals

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal