egovframework.rfc3.iam.security.authentication.rlauth
Class RealNameAuthenticationProvider
java.lang.Object
egovframework.rfc3.iam.security.authentication.rlauth.RealNameAuthenticationProvider
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware, org.springframework.security.authentication.AuthenticationProvider
public class RealNameAuthenticationProvider
- extends java.lang.Object
- implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
Method Summary |
void |
afterPropertiesSet()
|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication)
|
java.lang.String |
getKey()
|
void |
setKey(java.lang.String key)
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
|
boolean |
supports(java.lang.Class<? extends java.lang.Object> authentication)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealNameAuthenticationProvider
public RealNameAuthenticationProvider()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interface org.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
getKey
public java.lang.String getKey()
setKey
public void setKey(java.lang.String key)
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource)
- Specified by:
setMessageSource
in interface org.springframework.context.MessageSourceAware
supports
public boolean supports(java.lang.Class<? extends java.lang.Object> authentication)
- Specified by:
supports
in interface org.springframework.security.authentication.AuthenticationProvider