deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.security
Class WASAuthentication

java.lang.Object
  extended by org.deegree.security.AbstractAuthentication
      extended by org.deegree.security.WASAuthentication

public class WASAuthentication
extends AbstractAuthentication

Version:
$Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
Author:
Andreas Poth, last edited by: $Author: poth $

Field Summary
protected static String AUTH_PARAM_SESSIONID
           
protected static String INIT_PARAM_BASEREQUEST
           
protected static String INIT_PARAM_WAS
           
 
Fields inherited from class org.deegree.security.AbstractAuthentication
initParams
 
Constructor Summary
WASAuthentication(String authenticationName, Map<String,String> initParams)
           
 
Method Summary
 User authenticate(Map<String,String> params)
          authenticates a user and returns an instance of User if authentication has been successfull.
 
Methods inherited from class org.deegree.security.AbstractAuthentication
getAuthenticationName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTH_PARAM_SESSIONID

protected static final String AUTH_PARAM_SESSIONID
See Also:
Constant Field Values

INIT_PARAM_WAS

protected static final String INIT_PARAM_WAS
See Also:
Constant Field Values

INIT_PARAM_BASEREQUEST

protected static final String INIT_PARAM_BASEREQUEST
See Also:
Constant Field Values
Constructor Detail

WASAuthentication

public WASAuthentication(String authenticationName,
                         Map<String,String> initParams)
Parameters:
authenticationName -
initParams -
Method Detail

authenticate

public User authenticate(Map<String,String> params)
                  throws WrongCredentialsException
Description copied from class: AbstractAuthentication
authenticates a user and returns an instance of User if authentication has been successfull. Otherwise a WrongCredentialsException will be thrown.

Specified by:
authenticate in class AbstractAuthentication
Parameters:
params - authentication parameters
Returns:
an instance of User
Throws:
WrongCredentialsException - if authentication was not successfull

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org