|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.security.authentication.spi.GenericPrincipal
public final class GenericPrincipal
Generic Principal
| Constructor Summary | |
|---|---|
GenericPrincipal()
Implements Externalizable |
|
GenericPrincipal(String type,
String identity,
String name)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getIdentity()
Retrieve the identity. |
String |
getName()
|
String |
getType()
Get the principal's type |
int |
hashCode()
|
void |
readExternal(ObjectInput in)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericPrincipal()
Externalizable
public GenericPrincipal(String type,
String identity,
String name)
type - the principal's class nameidentity - the principal's identityname - the principal's nameNullPointerException - if any of the arguments is null| Method Detail |
|---|
public String getType()
public String getIdentity()
identity's value
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic String getName()
getName in interface Principalpublic String toString()
toString in interface PrincipaltoString in class Objectpublic boolean equals(Object object)
equals in interface Principalequals in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||