public abstract class
IdentityPrincipal
extends Object
Known Direct Subclasses |
Represents third-party identity such as user or group.
Nested Class Summary
enum | IdentityPrincipal.Kind | Kind of IdentityPrincipal |
Public Constructor Summary
IdentityPrincipal(String identity)
Constructs
IdentityPrincipal for given identity . |
Public Method Summary
String |
getIdentity()
Gets identity for third-party principal.
|
abstract IdentityPrincipal.Kind |
getKind()
Gets kind for principal.
|
Inherited Method Summary
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public IdentityPrincipal (String identity)
Constructs IdentityPrincipal
for given identity
.
Parameters
identity |
---|
Public Methods
public String getIdentity ()
Gets identity for third-party principal.