|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norther.tammi.core.realm.PublicIdentity
public final class PublicIdentity
A public implementation of java.security.Principal
identifying an unauthenticated user that is available for use by
Realm
implementations.
Based on GenericPrincipal
in the Apache Jakarta Tomcat project.
Field Summary |
---|
Fields inherited from interface org.norther.tammi.core.security.IdentifiedPrincipal |
---|
IDENTIFIED_PRINCIPAL |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object other)
|
Object |
getGroupId()
Gets the group id of the principal. |
String |
getName()
|
Object |
getUserId()
Gets the user id of the principal. |
int |
hashCode()
|
String |
toIdentity()
Returns the identity of the principal. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Object clone()
clone
in class Object
public boolean equals(Object other)
equals
in interface Principal
equals
in class Object
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public String getName()
getName
in interface Principal
public Object getUserId()
IdentifiedPrincipal
getUserId
in interface IdentifiedPrincipal
public Object getGroupId()
IdentifiedPrincipal
getGroupId
in interface IdentifiedPrincipal
public String toIdentity()
IdentifiedPrincipal
toIdentity
in interface IdentifiedPrincipal
public String toString()
toString
in interface Principal
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |