Class SubjectPrincipal
- java.lang.Object
-
- org.apache.cxf.common.security.SimplePrincipal
-
- org.apache.cxf.rs.security.saml.authorization.SubjectPrincipal
-
- All Implemented Interfaces:
Serializable,Principal
public class SubjectPrincipal extends SimplePrincipal
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubjectPrincipal(String principalName, Subject subject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)SubjectgetSubject()inthashCode()-
Methods inherited from class org.apache.cxf.common.security.SimplePrincipal
getName, toString
-
-
-
-
Method Detail
-
getSubject
public Subject getSubject()
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacePrincipal- Overrides:
equalsin classSimplePrincipal
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacePrincipal- Overrides:
hashCodein classSimplePrincipal
-
-