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
  
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
  
 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
TokenPrincipal
public TokenPrincipal(java.lang.String name)
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