org.apache.cxf.fediz.tomcat
Class FederationPrincipalImpl

java.lang.Object
  extended by org.apache.catalina.realm.GenericPrincipal
      extended by org.apache.cxf.fediz.tomcat.FederationPrincipalImpl
All Implemented Interfaces:
Principal, org.apache.cxf.fediz.core.FederationPrincipal, org.apache.cxf.fediz.core.FedizPrincipal

public class FederationPrincipalImpl
extends org.apache.catalina.realm.GenericPrincipal
implements org.apache.cxf.fediz.core.FederationPrincipal


Field Summary
protected  org.apache.cxf.fediz.core.ClaimCollection claims
           
protected  Element loginToken
           
 
Fields inherited from class org.apache.catalina.realm.GenericPrincipal
gssCredential, loginContext, name, password, roles, userPrincipal
 
Constructor Summary
FederationPrincipalImpl(String username, List<String> roles, List<org.apache.cxf.fediz.core.Claim> claims, Element loginToken)
           
 
Method Summary
 org.apache.cxf.fediz.core.ClaimCollection getClaims()
           
 Element getLoginToken()
           
 
Methods inherited from class org.apache.catalina.realm.GenericPrincipal
getGssCredential, getName, getPassword, getRoles, getUserPrincipal, hasRole, logout, setGssCredential, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Field Detail

claims

protected org.apache.cxf.fediz.core.ClaimCollection claims

loginToken

protected Element loginToken
Constructor Detail

FederationPrincipalImpl

public FederationPrincipalImpl(String username,
                               List<String> roles,
                               List<org.apache.cxf.fediz.core.Claim> claims,
                               Element loginToken)
Method Detail

getClaims

public org.apache.cxf.fediz.core.ClaimCollection getClaims()
Specified by:
getClaims in interface org.apache.cxf.fediz.core.FedizPrincipal

getLoginToken

public Element getLoginToken()
Specified by:
getLoginToken in interface org.apache.cxf.fediz.core.FedizPrincipal


Apache Fediz