org.springframework.security.ui.preauth.j2ee
Class J2eePreAuthenticatedProcessingFilter
java.lang.Object
org.springframework.security.ui.SpringSecurityFilter
org.springframework.security.ui.preauth.AbstractPreAuthenticatedProcessingFilter
org.springframework.security.ui.preauth.j2ee.J2eePreAuthenticatedProcessingFilter
- All Implemented Interfaces:
- javax.servlet.Filter, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.core.Ordered
public class J2eePreAuthenticatedProcessingFilter
- extends AbstractPreAuthenticatedProcessingFilter
This AbstractPreAuthenticatedProcessingFilter implementation is based on the
J2EE container-based authentication mechanism. It will use the J2EE user
principal name as the pre-authenticated principal.
- Since:
- 2.0
- Author:
- Ruud Senden
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Method Summary |
int |
getOrder()
|
protected java.lang.Object |
getPreAuthenticatedCredentials(javax.servlet.http.HttpServletRequest httpRequest)
For J2EE container-based authentication there is no generic way to
retrieve the credentials, as such this method returns a fixed dummy
value. |
protected java.lang.Object |
getPreAuthenticatedPrincipal(javax.servlet.http.HttpServletRequest httpRequest)
Return the J2EE user name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
J2eePreAuthenticatedProcessingFilter
public J2eePreAuthenticatedProcessingFilter()
getPreAuthenticatedPrincipal
protected java.lang.Object getPreAuthenticatedPrincipal(javax.servlet.http.HttpServletRequest httpRequest)
- Return the J2EE user name.
- Specified by:
getPreAuthenticatedPrincipal
in class AbstractPreAuthenticatedProcessingFilter
getPreAuthenticatedCredentials
protected java.lang.Object getPreAuthenticatedCredentials(javax.servlet.http.HttpServletRequest httpRequest)
- For J2EE container-based authentication there is no generic way to
retrieve the credentials, as such this method returns a fixed dummy
value.
- Specified by:
getPreAuthenticatedCredentials
in class AbstractPreAuthenticatedProcessingFilter
getOrder
public int getOrder()