DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.auth
Class AuthPrincipal

java.lang.Object
  extended by org.dlese.dpc.schemedit.security.auth.TypedPrincipal
      extended by org.dlese.dpc.schemedit.security.auth.AuthPrincipal
All Implemented Interfaces:
Serializable, Principal

public class AuthPrincipal
extends TypedPrincipal
implements Principal, Serializable

A principle for denoting which login module authenticated.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.security.auth.TypedPrincipal
AUTH, COLLECTION, DOMAIN, GROUP, name, type, typeMap, UNKNOWN, USER
 
Constructor Summary
AuthPrincipal()
          Create a AuthPrincipal with a blank name.
AuthPrincipal(String name)
          Create a AuthPrincipal with a name.
AuthPrincipal(String name, int type)
           
 
Method Summary
 
Methods inherited from class org.dlese.dpc.schemedit.security.auth.TypedPrincipal
equals, getName, getType, getTypeName, hashCode, setName, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Constructor Detail

AuthPrincipal

public AuthPrincipal(String name,
                     int type)

AuthPrincipal

public AuthPrincipal(String name)
Create a AuthPrincipal with a name.

Parameters:
name - the name for this Principal.
Throws:
NullPointerException - if the name is null.

AuthPrincipal

public AuthPrincipal()
Create a AuthPrincipal with a blank name.


DLESE Tools
v1.6.0