Package org.cxbox.model.core.service
Class InternalAuthorizationServiceImpl
java.lang.Object
org.cxbox.model.core.service.InternalAuthorizationServiceImpl
- All Implemented Interfaces:
InternalAuthorizationService
@Service
public final class InternalAuthorizationServiceImpl
extends Object
implements InternalAuthorizationService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cxbox.api.service.session.InternalAuthorizationService
InternalAuthorizationService.SystemUser, InternalAuthorizationService.SystemUsers -
Field Summary
Fields inherited from interface org.cxbox.api.service.session.InternalAuthorizationService
VANILLA -
Constructor Summary
ConstructorsConstructorDescriptionInternalAuthorizationServiceImpl(CxboxAuthenticationService cxboxAuthenticationService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.AuthenticationcreateAuthentication(@NonNull String login, @NonNull Set<String> userRole) org.springframework.security.core.AuthenticationcreateAuthentication(@NonNull InternalAuthorizationService.SystemUser systemUser) voidvoidloginAs(@NonNull InternalAuthorizationService.SystemUser systemUser) voidloginAs(@NonNull org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
InternalAuthorizationServiceImpl
public InternalAuthorizationServiceImpl(@Lazy CxboxAuthenticationService cxboxAuthenticationService)
-
-
Method Details
-
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(@NonNull @NonNull InternalAuthorizationService.SystemUser systemUser) - Specified by:
createAuthenticationin interfaceInternalAuthorizationService
-
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(@NonNull @NonNull String login, @NonNull @NonNull Set<String> userRole) - Specified by:
createAuthenticationin interfaceInternalAuthorizationService
-
loginAs
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
loginAs
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
loginAs
public void loginAs(@NonNull @NonNull org.springframework.security.core.Authentication authentication) - Specified by:
loginAsin interfaceInternalAuthorizationService
-