Class AccessTokenManager


  • public class AccessTokenManager
    extends Object
    • Constructor Detail

      • AccessTokenManager

        public AccessTokenManager​(JWTSettings jwtSettings)
    • Method Detail

      • setAuthorizationServerConnector

        public void setAuthorizationServerConnector​(AuthorizationServerConnector authorizationServerConnector)
      • getLocalAccessToken

        public String getLocalAccessToken​(String userName,
                                          String role)
      • refreshToken

        public String refreshToken​(step.framework.server.Session session)
                            throws step.core.deployment.AuthorizationException
        Throws:
        step.core.deployment.AuthorizationException
      • getServiceAccountToken

        public String getServiceAccountToken​(step.framework.server.Session session,
                                             long days)