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
AuthenticationManagerproxy 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 Summary
Constructors Constructor Description AuthenticationManagerProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication)voidsetDelegate(org.springframework.security.authentication.AuthenticationManager manager)
-
-
-
Method Detail
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException- Specified by:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationManager- Throws:
org.springframework.security.core.AuthenticationException
-
setDelegate
public void setDelegate(org.springframework.security.authentication.AuthenticationManager manager)
-
-