public interface SessionAuthenticityTokenProvider
Modifier and Type | Method and Description |
---|---|
String |
createSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject,
OAuthRedirectionState secData)
Create a new session token and stores it
|
OAuthRedirectionState |
getSessionState(MessageContext messageContext,
String sessionToken,
UserSubject subject)
Expand the session token
|
String |
getSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Retrieve the stored session token
|
String |
removeSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Remove the stored session token
|
String createSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject, OAuthRedirectionState secData)
mc
- the MessageContext
of this requestparams
- redirection-based grant request parameterssubject
- authenticated end usersecData
- String getSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject)
mc
- the MessageContext
of this requestparams
- grant authorization parameterssubject
- authenticated end userString removeSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject)
mc
- the MessageContext
of this requestparams
- grant authorization parameterssubject
- authenticated end userOAuthRedirectionState getSessionState(MessageContext messageContext, String sessionToken, UserSubject subject)
mc
- the MessageContext
of this requestsessionToken
- the tokensubject
- authenticated end userApache CXF