org.norther.tammi.spray.authenticator
Interface HttpDigestAuthFilter

All Superinterfaces:
AuthenticatorFilter, Filter
All Known Implementing Classes:
DefaultHttpDigestAuthFilter

public interface HttpDigestAuthFilter
extends AuthenticatorFilter

An interface to DIGEST authentication scheme as specified in RFC2617.

Based on Authenticator in the Apache Jakarta Tomcat project.

Version:
$Id: HttpDigestAuthFilter.java,v 1.15 2009/09/28 15:08:28 cvsimp Exp $
Author:
Craig R. McClanahan, Ilkka Priha

Field Summary
static String DIGEST_AUTH
          Digest authentication.
 
Method Summary
 int getDigestTimeout()
          Gets the digest timeout.
 void setDigestTimeout(int timeout)
          Sets the digest timeout.
 void setPrivateKey(String key)
          Sets the private key.
 
Methods inherited from interface org.norther.tammi.spray.authenticator.AuthenticatorFilter
authenticate, authenticate, authenticate, getAuthDomain, getAuthType, getFaultyUser, getLoginAttempts, getLoginAttempts, getLogoutFlow, getLogoutHost, getLogoutPipe, getLogoutService, getLogoutTemplate, getLogoutURI, getLogoutURL, getPublicRealmName, getRealmDomain, getRealmName, getUnauthorizedTemplate, getUserURL, isAnonymousPrincipalAccepted, isAuthenticationRequired, isAutoLoginEnabled, isCachedPrincipalDiscarded, isUserInRole, setAnonymousPrincipalAccepted, setAuthDomain, setAuthenticationRequired, setAutoLoginEnabled, setCachedPrincipalDiscarded, setLoginAttempts, setLogoutFlow, setLogoutHost, setLogoutPipe, setLogoutService, setLogoutTemplate, setLogoutURI, setPublicRealmName, setRealmName, setUnauthorizedTemplate, unauthenticated
 
Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init
 

Field Detail

DIGEST_AUTH

static final String DIGEST_AUTH
Digest authentication.

See Also:
Constant Field Values
Method Detail

setPrivateKey

void setPrivateKey(String key)
Sets the private key.

Parameters:
key - the private key.

getDigestTimeout

int getDigestTimeout()
Gets the digest timeout.

Returns:
the digest timeout in secs, -1 = forever.

setDigestTimeout

void setDigestTimeout(int timeout)
Sets the digest timeout.

Parameters:
timeout - the digest timeout in secs, -1 = forever.


Copyright © 2004 The Norther Organization. All rights reserved.