Class LoginAuthorizationManager<T>
java.lang.Object
com.xebialabs.deployit.plumbing.authorization.LoginAuthorizationManager<T>
- All Implemented Interfaces:
org.springframework.security.authorization.AuthorizationManager<T>
public class LoginAuthorizationManager<T>
extends Object
implements org.springframework.security.authorization.AuthorizationManager<T>
-
Constructor Summary
ConstructorsConstructorDescriptionLoginAuthorizationManager(UserProfileService userProfileService, com.xebialabs.xlrelease.service.UserLastActiveActorService userLastActiveActorService) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.core.AuthenticationaddAuthenticatedUserAuthority(org.springframework.security.core.Authentication authentication) org.springframework.security.authorization.AuthorizationDecisionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.authorization.AuthorizationManager
authorize, verify
-
Constructor Details
-
LoginAuthorizationManager
public LoginAuthorizationManager(UserProfileService userProfileService, com.xebialabs.xlrelease.service.UserLastActiveActorService userLastActiveActorService)
-
-
Method Details
-
check
public org.springframework.security.authorization.AuthorizationDecision check(Supplier<org.springframework.security.core.Authentication> authentication, T object) - Specified by:
checkin interfaceorg.springframework.security.authorization.AuthorizationManager<T>
-
addAuthenticatedUserAuthority
public static org.springframework.security.core.Authentication addAuthenticatedUserAuthority(org.springframework.security.core.Authentication authentication)
-