org.apache.ws.security
Class SAMLTokenPrincipal
java.lang.Object
org.apache.ws.security.SAMLTokenPrincipal
- All Implemented Interfaces:
- Serializable, Principal
public class SAMLTokenPrincipal
- extends Object
- implements Principal, Serializable
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 |
SAMLTokenPrincipal
public SAMLTokenPrincipal(AssertionWrapper assertion)
getToken
public AssertionWrapper getToken()
getName
public String getName()
- Specified by:
getName
in interface Principal
getId
public String getId()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.