Package hudson.security
Class AuthenticationManagerProxy
java.lang.Object
hudson.security.AuthenticationManagerProxy
- All Implemented Interfaces:
- org.springframework.security.authentication.AuthenticationManager
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class AuthenticationManagerProxy
extends Object
implements org.springframework.security.authentication.AuthenticationManager
AuthenticationManager proxy that delegates to another instance.
 
 This is used so that we can set up servlet filters first (which requires a reference
 to AuthenticationManager), then later change the actual authentication manager
 (and its set up) at runtime.
- Author:
- Kohsuke Kawaguchi
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) voidsetDelegate(org.springframework.security.authentication.AuthenticationManager manager) 
- 
Constructor Details- 
AuthenticationManagerProxypublic AuthenticationManagerProxy()
 
- 
- 
Method Details- 
authenticatepublic org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
- authenticatein interface- org.springframework.security.authentication.AuthenticationManager
- Throws:
- org.springframework.security.core.AuthenticationException
 
- 
setDelegatepublic void setDelegate(org.springframework.security.authentication.AuthenticationManager manager) 
 
-