Package io.tesler.model.core.service
Class InternalAuthorizationServiceImpl
- java.lang.Object
-
- io.tesler.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 io.tesler.api.service.session.InternalAuthorizationService
InternalAuthorizationService.SystemUser, InternalAuthorizationService.SystemUsers
-
-
Field Summary
-
Fields inherited from interface io.tesler.api.service.session.InternalAuthorizationService
VANILLA
-
-
Constructor Summary
Constructors Constructor Description InternalAuthorizationServiceImpl(TeslerAuthenticationService teslerAuthenticationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
createAuthentication(InternalAuthorizationService.SystemUser systemUser)
org.springframework.security.core.Authentication
createAuthentication(String login, LOV userRole)
void
loginAs(InternalAuthorizationService.SystemUser systemUser)
void
loginAs(String login, LOV userRole)
void
loginAs(org.springframework.security.core.Authentication authentication)
-
-
-
Constructor Detail
-
InternalAuthorizationServiceImpl
public InternalAuthorizationServiceImpl(@Lazy TeslerAuthenticationService teslerAuthenticationService)
-
-
Method Detail
-
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(InternalAuthorizationService.SystemUser systemUser)
- Specified by:
createAuthentication
in interfaceInternalAuthorizationService
-
createAuthentication
public org.springframework.security.core.Authentication createAuthentication(String login, LOV userRole)
- Specified by:
createAuthentication
in interfaceInternalAuthorizationService
-
loginAs
public void loginAs(InternalAuthorizationService.SystemUser systemUser)
- Specified by:
loginAs
in interfaceInternalAuthorizationService
-
loginAs
public void loginAs(String login, LOV userRole)
- Specified by:
loginAs
in interfaceInternalAuthorizationService
-
loginAs
public void loginAs(org.springframework.security.core.Authentication authentication)
- Specified by:
loginAs
in interfaceInternalAuthorizationService
-
-