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.AuthenticationToken
createToken
(jakarta.servlet.http.HttpServletRequest request) Returns anAuthenticationToken
ornull
.protected abstract org.apache.shiro.authc.AuthenticationToken
createToken
(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:WebTokenGenerator
Returns anAuthenticationToken
ornull
.- Specified by:
createToken
in interfaceWebTokenGenerator
- Parameters:
request
- http servlet request
-