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

    Constructors
    Constructor
    Description
    LoginAuthorizationManager(UserProfileService userProfileService, com.xebialabs.xlrelease.service.UserLastActiveActorService userLastActiveActorService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.security.core.Authentication
    addAuthenticatedUserAuthority(org.springframework.security.core.Authentication authentication)
     
    org.springframework.security.authorization.AuthorizationDecision
    check(Supplier<org.springframework.security.core.Authentication> authentication, T object)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      check in interface org.springframework.security.authorization.AuthorizationManager<T>
    • addAuthenticatedUserAuthority

      public static org.springframework.security.core.Authentication addAuthenticatedUserAuthority(org.springframework.security.core.Authentication authentication)