Class NoopCrowdRememberMeService
java.lang.Object
com.atlassian.jira.crowd.embedded.NoopCrowdRememberMeService
- All Implemented Interfaces:
com.atlassian.crowd.service.CrowdRememberMeService
public class NoopCrowdRememberMeService
extends Object
implements com.atlassian.crowd.service.CrowdRememberMeService
We don't provide any of this functionality. Just need to provide this class
as it is a dependency of crowd-rest-plugin or crowd-rest-application-management.
In future releases of Crowd / Embedded Crowd we should probably do some cleanup there.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.springframework.security.core.Authentication>
authenticate
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) void
void
void
clearAllTokensForDirectory
(Long aLong) void
void
clearAllTokensForUserInDirectory
(String s, Long aLong) void
createCookie
(org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings
void
removeCookie
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) void
saveConfiguration
(com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings crowdSpecificRememberMeSettings)
-
Constructor Details
-
NoopCrowdRememberMeService
public NoopCrowdRememberMeService()
-
-
Method Details
-
authenticate
public Optional<org.springframework.security.core.Authentication> authenticate(@Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nonnull javax.servlet.http.HttpServletResponse httpServletResponse) - Specified by:
authenticate
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
removeCookie
public void removeCookie(@Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nonnull javax.servlet.http.HttpServletResponse httpServletResponse) - Specified by:
removeCookie
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
createCookie
public void createCookie(@Nonnull org.springframework.security.core.Authentication authentication, @Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nonnull javax.servlet.http.HttpServletResponse httpServletResponse) - Specified by:
createCookie
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
clearAllTokensForSeries
- Specified by:
clearAllTokensForSeries
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
clearAllTokensForUserInDirectory
- Specified by:
clearAllTokensForUserInDirectory
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
clearAllTokens
public void clearAllTokens()- Specified by:
clearAllTokens
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
clearAllExpiredTokens
public void clearAllExpiredTokens()- Specified by:
clearAllExpiredTokens
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
clearAllTokensForDirectory
- Specified by:
clearAllTokensForDirectory
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
saveConfiguration
public void saveConfiguration(com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings crowdSpecificRememberMeSettings) - Specified by:
saveConfiguration
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-
getConfiguration
public com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings getConfiguration()- Specified by:
getConfiguration
in interfacecom.atlassian.crowd.service.CrowdRememberMeService
-