|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.seraph.service.rememberme.NoopRememberMeService
public class NoopRememberMeService
A No Op implementation of RememberMeService
Field Summary | |
---|---|
static NoopRememberMeService |
INSTANCE
|
Method Summary | |
---|---|
void |
addRememberMeCookie(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
String authenticatedUsername)
This can be called to generate and save a remember me cookie with the application and send it back to the client |
String |
getRememberMeCookieAuthenticatedUsername(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
This method can be called to try and authenticate a user name from a remember me cookie. |
void |
removeRememberMeCookie(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
This will remove any remember me cookie that may have been presented by the client |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final NoopRememberMeService INSTANCE
Method Detail |
---|
public void addRememberMeCookie(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String authenticatedUsername)
RememberMeService
addRememberMeCookie
in interface RememberMeService
httpServletRequest
- the request in playhttpServletResponse
- the response in playauthenticatedUsername
- the name of the user to generate the remember me cookie forpublic void removeRememberMeCookie(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
RememberMeService
removeRememberMeCookie
in interface RememberMeService
httpServletRequest
- the request in playhttpServletResponse
- the response in playpublic String getRememberMeCookieAuthenticatedUsername(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
RememberMeService
getRememberMeCookieAuthenticatedUsername
in interface RememberMeService
httpServletRequest
- the request in playhttpServletResponse
- the response in play
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |