org.w3c.jigsaw.acl
Class HTTPPrincipal
java.lang.Object
|
+--org.w3c.jigsaw.acl.HTTPPrincipal
- Direct Known Subclasses:
- BasicAuthPrincipal, DigestAuthPrincipal
- public class HTTPPrincipal
- extends java.lang.Object
- implements java.security.Principal
This class implements the most basic HTTP principal, allowing
you to check the IP of the request only
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
request
protected Request request
HTTPPrincipal
public HTTPPrincipal(Request request)
getRequest
protected Request getRequest()
getInetAddress
protected java.net.InetAddress getInetAddress()
equals
public boolean equals(java.lang.Object another)
- Specified by:
- equals in interface java.security.Principal
- Overrides:
- equals in class java.lang.Object
getName
public java.lang.String getName()
- Specified by:
- getName in interface java.security.Principal
toString
public java.lang.String toString()
- Specified by:
- toString in interface java.security.Principal
- Overrides:
- toString in class java.lang.Object