@Restricted(value=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.
Constructor and Description |
---|
AuthenticationManagerProxy() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
void |
setDelegate(org.springframework.security.authentication.AuthenticationManager manager) |
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
authenticate
in interface org.springframework.security.authentication.AuthenticationManager
org.springframework.security.core.AuthenticationException
public void setDelegate(org.springframework.security.authentication.AuthenticationManager manager)
Copyright © 2004–2021. All rights reserved.