org.springframework.security.ui.preauth.websphere
Class WebSphere2SpringSecurityPropagationInterceptor
java.lang.Object
org.springframework.security.ui.preauth.websphere.WebSphere2SpringSecurityPropagationInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class WebSphere2SpringSecurityPropagationInterceptor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor
This method interceptor can be used in front of arbitrary Spring beans to make a Spring SecurityContext
available to the bean, based on the current WebSphere credentials.
- Since:
- 1.0
- Author:
- Ruud Senden
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSphere2SpringSecurityPropagationInterceptor
public WebSphere2SpringSecurityPropagationInterceptor()
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Authenticate with Spring Security based on WebSphere credentials before proceeding with method
invocation, and clean up the Spring Security Context after method invocation finishes.
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
- See Also:
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
getAuthenticationManager
public AuthenticationManager getAuthenticationManager()
- Returns:
- Returns the authenticationManager.
setAuthenticationManager
public void setAuthenticationManager(AuthenticationManager authenticationManager)
- Parameters:
authenticationManager
- The authenticationManager to set.
getAuthenticationDetailsSource
public AuthenticationDetailsSource getAuthenticationDetailsSource()
- Returns:
- Returns the authenticationDetailsSource.
setAuthenticationDetailsSource
public void setAuthenticationDetailsSource(AuthenticationDetailsSource authenticationDetailsSource)
- Parameters:
authenticationDetailsSource
- The authenticationDetailsSource to set.
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.