Package step.core.authentication
Class AuthorizationServerManagerExt
- java.lang.Object
-
- step.core.authentication.AuthorizationServerManagerExt
-
- All Implemented Interfaces:
AuthorizationServerManager
public class AuthorizationServerManagerExt extends Object implements AuthorizationServerManager
-
-
Constructor Summary
Constructors Constructor Description AuthorizationServerManagerExt(JWTSettings jwtSettings, AccessManager accessManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getServiceAccountToken(Session session, long days)
String
issueToken(String username, Session session)
String
refreshToken(Session session)
-
-
-
Constructor Detail
-
AuthorizationServerManagerExt
public AuthorizationServerManagerExt(JWTSettings jwtSettings, AccessManager accessManager)
-
-
Method Detail
-
issueToken
public String issueToken(String username, Session session)
- Specified by:
issueToken
in interfaceAuthorizationServerManager
-
refreshToken
public String refreshToken(Session session)
- Specified by:
refreshToken
in interfaceAuthorizationServerManager
-
getServiceAccountToken
public String getServiceAccountToken(Session session, long days)
- Specified by:
getServiceAccountToken
in interfaceAuthorizationServerManager
-
-