Package co.mastermindcms.common.security
Class SuperUserInMemoryProvider
- java.lang.Object
-
- co.mastermindcms.common.security.SuperUserInMemoryProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@Component public class SuperUserInMemoryProvider extends java.lang.Object implements org.springframework.security.authentication.AuthenticationProvider
-
-
Field Summary
Fields Modifier and Type Field Description private CommonProperties
commonProperties
-
Constructor Summary
Constructors Constructor Description SuperUserInMemoryProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
boolean
supports(java.lang.Class<?> authentication)
-
-
-
Field Detail
-
commonProperties
@Autowired private CommonProperties commonProperties
-
-
Method Detail
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
public boolean supports(java.lang.Class<?> authentication)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
-