|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.higgins.rp.AuthProtocolHandler
The top level interface for the protocol finite state machine handler. At each step of the authentication process the relying party application can call authenticate to continue the authentication process passing in the parameters (POST and query) in the current request for the user.
Field Summary | |
---|---|
static String |
AUTH_SESSION_PARAM
query parameter which contains the value of the authentication session for the current request |
Constructor Summary | |
---|---|
AuthProtocolHandler()
|
Method Summary | |
---|---|
String |
addAuthSessionToLocation(String location)
Utility function which adds the authentication context as a request parameter |
abstract void |
authenticate(Map requestHeaders,
Map requestParams)
Call to initiate or continue the authentication process. |
abstract List |
getOptionalClaims()
Getter method for the list of optional Claims |
abstract List |
getRequiredClaims()
Getter method for the list of required Claims |
String |
getSessionId()
Returns a session ID which is bound to the authentication session |
static String |
getSupportedTokenName()
Static token method which MUST be over-ridden by the subclass |
static void |
init(Map initParams)
Protocol handler specific initialization. |
abstract void |
registerCallbacks(ResultCallback resultCallback,
DispatchCallback dispatchCallback,
SessionContext sCtxt)
Register callbacks to be be used in the authentication process |
abstract void |
setOptionalClaims(List optionalClaims)
|
abstract void |
setRequiredClaims(List requiredClaims)
Calls to initialize this object with the list of required and optional claim types. |
void |
setSessionId(String sessionId)
Sets the sessionID bound to this authentication session |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String AUTH_SESSION_PARAM
Constructor Detail |
public AuthProtocolHandler()
Method Detail |
public String getSessionId()
public void setSessionId(String sessionId)
public abstract void registerCallbacks(ResultCallback resultCallback, DispatchCallback dispatchCallback, SessionContext sCtxt)
resultCallback
- to notify the application at the end of the processdispatchCallback
- used to have the app server redirect to other resourcessCtxt
- sessionContext used to store attributes and obtain other
context parameterspublic abstract void authenticate(Map requestHeaders, Map requestParams)
requestParams
- both the POST as well as query params in the stringpublic abstract void setRequiredClaims(List requiredClaims)
public abstract void setOptionalClaims(List optionalClaims)
public static void init(Map initParams)
initParams
- public static String getSupportedTokenName()
public abstract List getRequiredClaims()
public abstract List getOptionalClaims()
public String addAuthSessionToLocation(String location)
location
-
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |