Class AuthPrincipal
java.lang.Object
org.dlese.dpc.schemedit.security.auth.TypedPrincipal
org.dlese.dpc.schemedit.security.auth.AuthPrincipal
- All Implemented Interfaces:
Serializable,Principal
A principle for denoting which login module authenticated.
- See Also:
-
Field Summary
Fields inherited from class org.dlese.dpc.schemedit.security.auth.TypedPrincipal
AUTH, COLLECTION, DOMAIN, GROUP, name, type, typeMap, UNKNOWN, USER -
Constructor Summary
ConstructorsConstructorDescriptionCreate 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
-
Constructor Details
-
AuthPrincipal
-
AuthPrincipal
Create a AuthPrincipal with a name.- Parameters:
name- the name for this Principal.- Throws:
NullPointerException- if thenameisnull.
-
AuthPrincipal
public AuthPrincipal()Create a AuthPrincipal with a blank name.
-