Package org.gatein.sso.saml.plugin
Class SimplePrincipal
- java.lang.Object
-
- org.gatein.sso.saml.plugin.SimplePrincipal
-
- All Implemented Interfaces:
Serializable,Principal
- Direct Known Subclasses:
SimpleGroup
public class SimplePrincipal extends Object implements Principal, Serializable
Forked class because this plugin can be used on both JBoss or Tomcat and we want to be independent on AS.- Author:
- Oleg Nitz, Scott.Stark@jboss.org
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimplePrincipal(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object another)Compare this SimplePrincipal's name against another Principal.StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SimplePrincipal
public SimplePrincipal(String name)
-
-
Method Detail
-
equals
public boolean equals(Object another)
Compare this SimplePrincipal's name against another Principal. If system property org.jboss.security.simpleprincipal.equals.override is set to true will only compare instances of SimplePrincipals.
-
hashCode
public int hashCode()
-
toString
public String toString()
-
-