at.gv.egiz.moodle.eidconnector.webapp.struts.action
Class MoodleEIDConnectorAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
at.gv.egiz.moodle.eidconnector.webapp.struts.action.CommonAction
at.gv.egiz.moodle.eidconnector.webapp.struts.action.MoodleEIDConnectorAction
public class MoodleEIDConnectorAction
- extends CommonAction
- Author:
- AT-TUG (Thomas Knall)
Fields inherited from class org.apache.struts.action.Action |
servlet |
Method Summary |
ActionForward |
authenticate(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
Action that has to be invoked by the underlying authentication framework. |
ActionForward |
getAuthenticationData(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
|
ActionForward |
leaveConnector(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
|
ActionForward |
startAuthentication(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORIGINATING_COUNTRY_PARAM
public static final String ORIGINATING_COUNTRY_PARAM
- See Also:
- Constant Field Values
TICKET_PARAM
public static final String TICKET_PARAM
- See Also:
- Constant Field Values
INVALID_TICKET_RETURN_CODE
public static final int INVALID_TICKET_RETURN_CODE
- See Also:
- Constant Field Values
NO_TICKET_RETURN_CODE
public static final int NO_TICKET_RETURN_CODE
- See Also:
- Constant Field Values
INSUFFICIENT_ATTRIBUTES_RETURN_CODE
public static final int INSUFFICIENT_ATTRIBUTES_RETURN_CODE
- See Also:
- Constant Field Values
UNABLE_TO_FIND_USER_RETURN_CODE
public static final int UNABLE_TO_FIND_USER_RETURN_CODE
- See Also:
- Constant Field Values
UNPARSEABLE_USER_ID_RETURN_CODE
public static final int UNPARSEABLE_USER_ID_RETURN_CODE
- See Also:
- Constant Field Values
RETURNING_CREDENTIALS_RETURN_CODE
public static final int RETURNING_CREDENTIALS_RETURN_CODE
- See Also:
- Constant Field Values
RETURNING_CREDENTIALS_CONTENT_TYPE
public static final String RETURNING_CREDENTIALS_CONTENT_TYPE
- See Also:
- Constant Field Values
RETURNING_CREDENTIALS_CONTENT_CHAR_ENC
public static final String RETURNING_CREDENTIALS_CONTENT_CHAR_ENC
- See Also:
- Constant Field Values
RETURNING_CREDENTIALS_CONTENT
public static final String RETURNING_CREDENTIALS_CONTENT
- See Also:
- Constant Field Values
SUBJECT_ATTRIBUTE_KEY_MOODLE_USER_ID
protected static final String SUBJECT_ATTRIBUTE_KEY_MOODLE_USER_ID
- See Also:
- Constant Field Values
MoodleEIDConnectorAction
public MoodleEIDConnectorAction()
startAuthentication
public ActionForward startAuthentication(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws NoSuchAlgorithmException,
IOException
- Throws:
NoSuchAlgorithmException
IOException
authenticate
public ActionForward authenticate(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws NoSuchAlgorithmException,
IOException
- Action that has to be invoked by the underlying authentication framework. This action performs
delegation to the set of registered eID authenticators.
- Throws:
NoSuchAlgorithmException
IOException
getAuthenticationData
public ActionForward getAuthenticationData(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
NoSuchAlgorithmException
- Throws:
IOException
NoSuchAlgorithmException
leaveConnector
public ActionForward leaveConnector(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException
- Throws:
IOException
Copyright 2009 EGIZ. All Rights Reserved.