Package sonia.scm.web
Class SchemeBasedWebTokenGenerator
java.lang.Object
sonia.scm.web.SchemeBasedWebTokenGenerator
- All Implemented Interfaces:
WebTokenGenerator
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.shiro.authc.AuthenticationTokencreateToken(jakarta.servlet.http.HttpServletRequest request) Returns anAuthenticationTokenornull.protected abstract org.apache.shiro.authc.AuthenticationTokencreateToken(jakarta.servlet.http.HttpServletRequest request, String scheme, String authorization)
-
Constructor Details
-
SchemeBasedWebTokenGenerator
public SchemeBasedWebTokenGenerator()
-
-
Method Details
-
createToken
-
createToken
public org.apache.shiro.authc.AuthenticationToken createToken(jakarta.servlet.http.HttpServletRequest request) Description copied from interface:WebTokenGeneratorReturns anAuthenticationTokenornull.- Specified by:
createTokenin interfaceWebTokenGenerator- Parameters:
request- http servlet request
-