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(String login, LOV userRole) org.springframework.security.core.AuthenticationvoidvoidloginAs(InternalAuthorizationService.SystemUser systemUser) voidloginAs(org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
InternalAuthorizationServiceImpl
public InternalAuthorizationServiceImpl(@Lazy CxboxAuthenticationService cxboxAuthenticationService)
-
-
Method Details
-
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(InternalAuthorizationService.SystemUser systemUser) - Specified by:
createAuthenticationin interfaceInternalAuthorizationService
-
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(String login, LOV userRole) - Specified by:
createAuthenticationin interfaceInternalAuthorizationService
-
loginAs
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
loginAs
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
loginAs
public void loginAs(org.springframework.security.core.Authentication authentication) - Specified by:
loginAsin interfaceInternalAuthorizationService
-