org.apache.ws.security
Class CustomTokenPrincipal

java.lang.Object
  extended by org.apache.ws.security.CustomTokenPrincipal
All Implemented Interfaces:
java.io.Serializable, java.security.Principal

public class CustomTokenPrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CustomTokenPrincipal(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 org.w3c.dom.Element getTokenElement()
           
 java.lang.Object getTokenObject()
           
 void setTokenElement(org.w3c.dom.Element tokenElement)
           
 void setTokenObject(java.lang.Object tokenObject)
           
 
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

CustomTokenPrincipal

public CustomTokenPrincipal(java.lang.String name)
Method Detail

getTokenObject

public java.lang.Object getTokenObject()

setTokenObject

public void setTokenObject(java.lang.Object tokenObject)

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

getTokenElement

public org.w3c.dom.Element getTokenElement()

setTokenElement

public void setTokenElement(org.w3c.dom.Element tokenElement)


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.