Class AwsTokens
java.lang.Object
com.tremolosecurity.proxy.token.AwsTokens
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(HttpFilterConfig filterConfig, ScaleTokenConfig tokenConfig) Called when the insert is loaded with configuration parametersloadToken(AuthInfo user, jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletRequest arg2) Return an object to be serialized to JSON and sent to the client
-
Constructor Details
-
AwsTokens
public AwsTokens()
-
-
Method Details
-
init
Description copied from interface:TokenLoaderCalled when the insert is loaded with configuration parameters- Specified by:
initin interfaceTokenLoader- Throws:
Exception
-
loadToken
public Object loadToken(AuthInfo user, jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletRequest arg2) throws Exception Description copied from interface:TokenLoaderReturn an object to be serialized to JSON and sent to the client- Specified by:
loadTokenin interfaceTokenLoader- Parameters:
user- The logged in usersession- The user's sessionarg2- The user's request- Returns:
- Object to serialize
- Throws:
Exception
-