public class ShogunCoreAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
ShogunCoreAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication)
This method has to be
Transactional to allow that associated entities
can be fetched lazily. |
org.springframework.security.crypto.password.PasswordEncoder |
getPasswordEncoder() |
void |
setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) |
boolean |
supports(Class<?> authentication) |
@Transactional(value="transactionManager",
readOnly=true)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
Transactional to allow that associated entities
can be fetched lazily.authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionAuthenticationProvider.authenticate(org.springframework.security.core.Authentication)public boolean supports(Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProvider(java.lang.Class)public org.springframework.security.crypto.password.PasswordEncoder getPasswordEncoder()
public void setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
passwordEncoder - the passwordEncoder to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.