public abstract class ExternalSystemCredentialHandler extends Object implements org.springframework.security.core.userdetails.UserDetailsService
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationSource |
configSource |
| Constructor and Description |
|---|
ExternalSystemCredentialHandler() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationSource |
getConfigSource() |
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String userId) |
protected boolean |
onAuth(String userId)
This is a overridable method, intended for any framework to extend and
use in case of login.
|
protected boolean |
onDenied(String userId)
This is a overridable method, intended for any framework to extend and
use in case the user cannot login and we want something custom intended.
|
protected abstract AbstractAttribute<String,String> |
putInConfigSource(String namespace,
String key,
String value) |
void |
setConfigSource(ConfigurationSource configSource) |
protected ConfigurationSource configSource
protected abstract AbstractAttribute<String,String> putInConfigSource(String namespace, String key, String value)
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String userId) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServiceorg.springframework.security.core.userdetails.UsernameNotFoundExceptionorg.springframework.dao.DataAccessExceptionpublic ConfigurationSource getConfigSource()
public void setConfigSource(ConfigurationSource configSource)
protected boolean onAuth(String userId) throws Exception
userId - ExceptionCopyright © 2018. All rights reserved.