| org.w3c.tools.resources.ResourceFilter org.w3c.jigsaw.auth.AuthFilter
ATTR_METHODS | protected static int ATTR_METHODS(Code) | | Attribute index - The methods protected by the filter.
|
ATTR_PRIVATE_CACHABILITY | protected static int ATTR_PRIVATE_CACHABILITY(Code) | | Attribute index - Is caching allowed in private cache ?
|
ATTR_PUBLIC_CACHABILITY | protected static int ATTR_PUBLIC_CACHABILITY(Code) | | Attribute index - Is public caching of protected documents allowed ?
|
ATTR_REALM | protected static int ATTR_REALM(Code) | | Attribute index - The realm name for this filter.
|
ATTR_SHARED_CACHABILITY | protected static int ATTR_SHARED_CACHABILITY(Code) | | Attribute index - Is caching allowed by a shared cache ?
|
STATE_AUTHCONTEXT | final public static String STATE_AUTHCONTEXT(Code) | | The authentication context used to authenticate the above user
FIXME
|
STATE_AUTHTYPE | final public static String STATE_AUTHTYPE(Code) | | The authentication method used to authenticate above user.
FIXME
|
STATE_AUTHUSER | final public static String STATE_AUTHUSER(Code) | | The user as authentified from the request.
FIXME
|
authenticate | public void authenticate(Request request) throws ProtocolException(Code) | | Authenticate the request from the given client.
An authentication filter should only override this method.
Parameters: request - The request to be handled. exception: ProtocolException - If authentication failed. |
getMethods | public String[] getMethods()(Code) | | Get the list of methods that this filter protect
An array of String giving the name of the protected methods,or null, in wich case all methods areto be protected. |
getPrivateCachability | public boolean getPrivateCachability()(Code) | | Is this document cachable in private caches ?
A boolean. |
getPublicCachability | public boolean getPublicCachability()(Code) | | Is this document publicly cachable ?
A boolean. |
getRealm | public String getRealm()(Code) | | Get the realm of this filter.
|
getSharedCachability | public boolean getSharedCachability()(Code) | | Is this document cachable in shared caches ?
A boolean. |
lookup | public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code) | | Authenticate the given request for the given client.
This method is invoked prior to any request handling on its target
entity. If the used authentication method allows so, AuthFilters
should set the authuser attribute of the request.
Parameters: request - The request. exception: ProtocolException - If authentication failed. |
outgoingFilter | public ReplyInterface outgoingFilter(RequestInterface request, ReplyInterface reply)(Code) | | Add the appropriate cache control directives on the way back.
Parameters: request - The request that has been processed. Parameters: reply - The original reply. Always null. |
Methods inherited from org.w3c.tools.resources.ResourceFilter | public ReplyInterface exceptionFilter(RequestInterface request, ProtocolException ex, FilterInterface filters, int i)(Code)(Java Doc) public Resource getTargetResource()(Code)(Java Doc) public ReplyInterface ingoingFilter(RequestInterface request) throws ProtocolException(Code)(Java Doc) public ReplyInterface ingoingFilter(RequestInterface request, FilterInterface filters, int i) throws ProtocolException(Code)(Java Doc) public void initialize(Hashtable defs)(Code)(Java Doc) public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) public ReplyInterface outgoingFilter(RequestInterface request, ReplyInterface reply) throws ProtocolException(Code)(Java Doc) public ReplyInterface outgoingFilter(RequestInterface request, ReplyInterface reply, FilterInterface filters, int fidx) throws ProtocolException(Code)(Java Doc) public OutputStream outputFilter(RequestInterface request, ReplyInterface reply, OutputStream output)(Code)(Java Doc) public void pickleValues(Hashtable defs)(Code)(Java Doc)
|
|
|