org.apache.ws.security
Class SAMLTokenPrincipal

java.lang.Object
  extended by 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

Constructor Summary
SAMLTokenPrincipal(AssertionWrapper assertion)
           
 
Method Summary
 String getId()
           
 String getName()
           
 AssertionWrapper getToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

SAMLTokenPrincipal

public SAMLTokenPrincipal(AssertionWrapper assertion)
Method Detail

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.