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
-
-
Constructor Summary
Constructors Constructor Description SAMLTokenPrincipalImpl(SamlAssertionWrapper samlAssertion)
-
-
-
Constructor Detail
-
SAMLTokenPrincipalImpl
public SAMLTokenPrincipalImpl(SamlAssertionWrapper samlAssertion)
-
-
Method Detail
-
getToken
public SamlAssertionWrapper getToken()
- Specified by:
getToken
in interfaceSAMLTokenPrincipal
-
getName
public String getName()
- Specified by:
getName
in interfacePrincipal
- Specified by:
getName
in interfaceSAMLTokenPrincipal
-
getId
public String getId()
- Specified by:
getId
in interfaceSAMLTokenPrincipal
-
-