be.fedict.eid.applet.service.impl.handler
Class AuthenticationDataMessageHandler

java.lang.Object
  extended by be.fedict.eid.applet.service.impl.handler.AuthenticationDataMessageHandler
All Implemented Interfaces:
MessageHandler<be.fedict.eid.applet.shared.AuthenticationDataMessage>

@HandlesMessage(value=be.fedict.eid.applet.shared.AuthenticationDataMessage.class)
public class AuthenticationDataMessageHandler
extends java.lang.Object
implements MessageHandler<be.fedict.eid.applet.shared.AuthenticationDataMessage>

Authentication data message protocol handler.

Author:
Frank Cornelis

Field Summary
static java.lang.String AUDIT_SERVICE_INIT_PARAM_NAME
           
static java.lang.String AUTHENTICATED_USER_IDENTIFIER_SESSION_ATTRIBUTE
           
static java.lang.String AUTHN_SERVICE_INIT_PARAM_NAME
           
static java.lang.String CHALLENGE_MAX_MATURITY_INIT_PARAM_NAME
           
static java.lang.String NRCID_APP_ID_INIT_PARAM_NAME
           
static java.lang.String NRCID_ORG_ID_INIT_PARAM_NAME
           
static java.lang.String NRCID_SECRET_INIT_PARAM_NAME
           
 
Constructor Summary
AuthenticationDataMessageHandler()
           
 
Method Summary
 java.lang.Object handleMessage(be.fedict.eid.applet.shared.AuthenticationDataMessage message, java.util.Map<java.lang.String,java.lang.String> httpHeaders, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)
          Handles the given message.
 void init(javax.servlet.ServletConfig config)
          Initializes this message handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHENTICATED_USER_IDENTIFIER_SESSION_ATTRIBUTE

public static final java.lang.String AUTHENTICATED_USER_IDENTIFIER_SESSION_ATTRIBUTE
See Also:
Constant Field Values

AUTHN_SERVICE_INIT_PARAM_NAME

public static final java.lang.String AUTHN_SERVICE_INIT_PARAM_NAME
See Also:
Constant Field Values

AUDIT_SERVICE_INIT_PARAM_NAME

public static final java.lang.String AUDIT_SERVICE_INIT_PARAM_NAME
See Also:
Constant Field Values

CHALLENGE_MAX_MATURITY_INIT_PARAM_NAME

public static final java.lang.String CHALLENGE_MAX_MATURITY_INIT_PARAM_NAME
See Also:
Constant Field Values

NRCID_SECRET_INIT_PARAM_NAME

public static final java.lang.String NRCID_SECRET_INIT_PARAM_NAME
See Also:
Constant Field Values

NRCID_ORG_ID_INIT_PARAM_NAME

public static final java.lang.String NRCID_ORG_ID_INIT_PARAM_NAME
See Also:
Constant Field Values

NRCID_APP_ID_INIT_PARAM_NAME

public static final java.lang.String NRCID_APP_ID_INIT_PARAM_NAME
See Also:
Constant Field Values
Constructor Detail

AuthenticationDataMessageHandler

public AuthenticationDataMessageHandler()
Method Detail

handleMessage

public java.lang.Object handleMessage(be.fedict.eid.applet.shared.AuthenticationDataMessage message,
                                      java.util.Map<java.lang.String,java.lang.String> httpHeaders,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpSession session)
                               throws javax.servlet.ServletException
Description copied from interface: MessageHandler
Handles the given message. Returns the response message to send back, this can be null.

Specified by:
handleMessage in interface MessageHandler<be.fedict.eid.applet.shared.AuthenticationDataMessage>
request - the request from which the body already may be consumed.
Returns:
the optional response message to send back.
Throws:
javax.servlet.ServletException

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Description copied from interface: MessageHandler
Initializes this message handler.

Specified by:
init in interface MessageHandler<be.fedict.eid.applet.shared.AuthenticationDataMessage>
Throws:
javax.servlet.ServletException


Copyright © 2008-2011 FedICT. All Rights Reserved.