org.w3c.jigsaw.acl
Class BasicAuthPrincipal
java.lang.Object
org.w3c.jigsaw.acl.HTTPPrincipal
org.w3c.jigsaw.acl.BasicAuthPrincipal
- All Implemented Interfaces:
- java.security.Principal
public class BasicAuthPrincipal
- extends HTTPPrincipal
Field Summary |
protected java.lang.String |
cookie
|
protected java.lang.String |
name
|
protected java.lang.String |
origname
|
protected java.lang.String |
password
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
origname
protected java.lang.String origname
name
protected java.lang.String name
password
protected java.lang.String password
cookie
protected java.lang.String cookie
BasicAuthPrincipal
public BasicAuthPrincipal(Request request)
throws InvalidAuthException
- Throws:
InvalidAuthException
BasicAuthPrincipal
public BasicAuthPrincipal(Request request,
boolean lenient)
throws InvalidAuthException
- Throws:
InvalidAuthException
getCookie
protected java.lang.String getCookie()
equals
public boolean equals(java.lang.Object another)
- Specified by:
equals
in interface java.security.Principal
- Overrides:
equals
in class HTTPPrincipal
toString
public java.lang.String toString()
- Specified by:
toString
in interface java.security.Principal
- Overrides:
toString
in class HTTPPrincipal
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.security.Principal
- Overrides:
hashCode
in class java.lang.Object
getName
public java.lang.String getName()
- Specified by:
getName
in interface java.security.Principal
- Overrides:
getName
in class HTTPPrincipal
getOriginalName
public java.lang.String getOriginalName()
- Overrides:
getOriginalName
in class HTTPPrincipal