@Component(value="preAuthenticatedAuthenticationProvider")
public class CustomPreAuthenticatedAuthenticationProvider
extends org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
Constructor and Description |
---|
CustomPreAuthenticatedAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
AuthorizationManager |
getAuthorizationManager() |
RolesManager |
getRolesManager() |
void |
setAuthorizationManager(AuthorizationManager authorizationManager) |
void |
setRolesManager(RolesManager rolesManager) |
@Autowired public CustomPreAuthenticatedAuthenticationProvider()
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.AuthenticationProvider
authenticate
in class org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
org.springframework.security.core.AuthenticationException
public RolesManager getRolesManager()
public void setRolesManager(RolesManager rolesManager)
public AuthorizationManager getAuthorizationManager()
public void setAuthorizationManager(AuthorizationManager authorizationManager)