public class AuthPrincipal extends TypedPrincipal implements java.security.Principal, java.io.Serializable
AUTH, COLLECTION, DOMAIN, GROUP, name, type, typeMap, UNKNOWN, USER
Constructor and Description |
---|
AuthPrincipal()
Create a AuthPrincipal with a blank name.
|
AuthPrincipal(java.lang.String name)
Create a AuthPrincipal with a name.
|
AuthPrincipal(java.lang.String name,
int type) |
equals, getName, getType, getTypeName, hashCode, setName, setType, toString
public AuthPrincipal(java.lang.String name, int type)
public AuthPrincipal(java.lang.String name)
name
- the name for this Principal.java.lang.NullPointerException
- if the name
is null
.public AuthPrincipal()