public final class CasRestAuthenticator extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.security.authentication.AuthenticationManager
Constructor and Description |
---|
CasRestAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
org.springframework.security.core.Authentication |
authenticate(String username,
String password) |
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.authentication.UsernamePasswordAuthenticationToken token) |
org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,org.springframework.security.cas.web.authentication.ServiceAuthenticationDetails> |
getAuthenticationDetailsSource() |
org.springframework.security.authentication.AuthenticationManager |
getAuthenticationManager() |
String |
getCasServerUrl() |
void |
setAuthenticationDetailsSource(org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,org.springframework.security.cas.web.authentication.ServiceAuthenticationDetails> authenticationDetailsSource) |
void |
setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
void |
setCasServerUrl(String casServerUrl) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public String getCasServerUrl()
public void setCasServerUrl(String casServerUrl)
public org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()
public void setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
public org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,org.springframework.security.cas.web.authentication.ServiceAuthenticationDetails> getAuthenticationDetailsSource()
public void setAuthenticationDetailsSource(org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,org.springframework.security.cas.web.authentication.ServiceAuthenticationDetails> authenticationDetailsSource)
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 org.springframework.security.core.Authentication authenticate(org.springframework.security.authentication.UsernamePasswordAuthenticationToken token)
Copyright © 2016–2023. All rights reserved.