org.norther.tammi.spray.authenticator
Class DefaultCachedAuthFilter
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.spray.filter.DefaultFilter
org.norther.tammi.spray.authenticator.AbstractAuthenticatorFilter
org.norther.tammi.spray.authenticator.DefaultCachedAuthFilter
- All Implemented Interfaces:
- Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Manageable, MBeanDelegate, AuthenticatorFilter, CachedAuthFilter
public class DefaultCachedAuthFilter
- extends AbstractAuthenticatorFilter
- implements CachedAuthFilter
A default implementation of CachedAuthFilter.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| Methods inherited from class org.norther.tammi.spray.authenticator.AbstractAuthenticatorFilter |
decrementLoginAttempts, doFilter, generateAuthenticate, getAuthenticationURL, getCredentials, getDefaultDomain, getFaultyUser, getLoginAttempts, getLoginAttempts, getLogoutFlow, getLogoutHost, getLogoutPipe, getLogoutService, getLogoutTemplate, getLogoutURI, getLogoutURL, getPublicRealmName, getRealm, getRealmName, getUnauthorizedTemplate, incrementLoginAttempts, isAuthenticationRequired, isAutoLoginEnabled, isCachedPrincipalDiscarded, isUserInRole, postmanaged, setAuthenticationRequired, setAutoLoginEnabled, setCachedPrincipalDiscarded, setDefaultDomain, setFaultyUser, setLoginAttempts, setLogoutFlow, setLogoutHost, setLogoutPipe, setLogoutService, setLogoutTemplate, setLogoutURI, setPublicRealmName, setRealmName, setUnauthorizedTemplate, unauthenticated, unmanaged, verifyAuthentication |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.spray.authenticator.AuthenticatorFilter |
getDefaultDomain, getFaultyUser, getLoginAttempts, getLoginAttempts, getLogoutFlow, getLogoutHost, getLogoutPipe, getLogoutService, getLogoutTemplate, getLogoutURI, getLogoutURL, getPublicRealmName, getRealmName, getUnauthorizedTemplate, isAuthenticationRequired, isAutoLoginEnabled, isCachedPrincipalDiscarded, isUserInRole, setAuthenticationRequired, setAutoLoginEnabled, setCachedPrincipalDiscarded, setDefaultDomain, setLoginAttempts, setLogoutFlow, setLogoutHost, setLogoutPipe, setLogoutService, setLogoutTemplate, setLogoutURI, setPublicRealmName, setRealmName, setUnauthorizedTemplate, unauthenticated |
DefaultCachedAuthFilter
public DefaultCachedAuthFilter()
- Constructs a new filter.
getAuthType
public String getAuthType()
- Description copied from interface:
AuthenticatorFilter
- Gets the authentication scheme.
- Specified by:
getAuthType in interface AuthenticatorFilter- Specified by:
getAuthType in class AbstractAuthenticatorFilter
- Returns:
- the authentication scheme.
authenticate
public Principal authenticate(HttpServletRequest request,
HttpServletResponse response,
FilterChain chain)
- Description copied from interface:
AuthenticatorFilter
- Authenticates a request within the realm of this filter.
- Specified by:
authenticate in interface AuthenticatorFilter- Specified by:
authenticate in class AbstractAuthenticatorFilter
- Parameters:
request - the request.response - the response.chain - the filter chain.
- Returns:
- the authenticated user principal or null.
Copyright © 2004 The Norther Organization. All rights reserved.