public class WebSphere2SpringSecurityPropagationInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor
Constructor and Description |
---|
WebSphere2SpringSecurityPropagationInterceptor() |
Modifier and Type | Method and Description |
---|---|
AuthenticationDetailsSource |
getAuthenticationDetailsSource() |
AuthenticationManager |
getAuthenticationManager() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
Authenticate with Spring Security based on WebSphere credentials before proceeding with method
invocation, and clean up the Spring Security Context after method invocation finishes.
|
void |
setAuthenticationDetailsSource(AuthenticationDetailsSource authenticationDetailsSource) |
void |
setAuthenticationManager(AuthenticationManager authenticationManager) |
public WebSphere2SpringSecurityPropagationInterceptor()
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
public AuthenticationManager getAuthenticationManager()
public void setAuthenticationManager(AuthenticationManager authenticationManager)
authenticationManager
- The authenticationManager to set.public AuthenticationDetailsSource getAuthenticationDetailsSource()
public void setAuthenticationDetailsSource(AuthenticationDetailsSource authenticationDetailsSource)
authenticationDetailsSource
- The authenticationDetailsSource to set.