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
Constructors Constructor Description InternalAuthorizationServiceImpl(CxboxAuthenticationService cxboxAuthenticationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.AuthenticationcreateAuthentication(String login, LOV userRole)org.springframework.security.core.AuthenticationcreateAuthentication(InternalAuthorizationService.SystemUser systemUser)voidloginAs(String login, LOV userRole)voidloginAs(InternalAuthorizationService.SystemUser systemUser)voidloginAs(org.springframework.security.core.Authentication authentication)
-
-
-
Constructor Detail
-
InternalAuthorizationServiceImpl
public InternalAuthorizationServiceImpl(@Lazy CxboxAuthenticationService cxboxAuthenticationService)
-
-
Method Detail
-
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
public void loginAs(InternalAuthorizationService.SystemUser systemUser)
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
loginAs
public void loginAs(String login, LOV userRole)
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
loginAs
public void loginAs(org.springframework.security.core.Authentication authentication)
- Specified by:
loginAsin interfaceInternalAuthorizationService
-
-