org.apache.wss4j.common.principal
Class SAMLTokenPrincipalImpl
java.lang.Object
org.apache.wss4j.common.principal.SAMLTokenPrincipalImpl
- All Implemented Interfaces:
- Serializable, Principal, SAMLTokenPrincipal
public class SAMLTokenPrincipalImpl
- extends Object
- implements Serializable, SAMLTokenPrincipal
A principal that represents a SAML Token. It parses the Subject and returns the Subject
name value as the Principal name.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAMLTokenPrincipalImpl
public SAMLTokenPrincipalImpl(SamlAssertionWrapper samlAssertion)
getToken
public SamlAssertionWrapper getToken()
- Specified by:
getToken in interface SAMLTokenPrincipal
getName
public String getName()
- Specified by:
getName in interface Principal- Specified by:
getName in interface SAMLTokenPrincipal
getId
public String getId()
- Specified by:
getId in interface SAMLTokenPrincipal
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.