2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.



org.apache.tuscany.sca.policy.authentication.token
Class TokenPrincipal

java.lang.Object
  extended by org.apache.tuscany.sca.policy.authentication.token.TokenPrincipal
All Implemented Interfaces:
java.security.Principal

public class TokenPrincipal
extends java.lang.Object
implements java.security.Principal


Constructor Summary
TokenPrincipal(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object principal)
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenPrincipal

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

getName

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

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object principal)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object