deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.security
Class UserPasswordAuthentication

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

public class UserPasswordAuthentication
extends AbstractAuthentication

Author:
Andreas Poth, last edited by: $Author: poth $

Field Summary
protected static String AUTH_PARAM_PASSWORD
           
protected static String AUTH_PARAM_USER
           
 
Fields inherited from class org.deegree.security.AbstractAuthentication
initParams
 
Constructor Summary
UserPasswordAuthentication(String authenticationName, Map<String,String> initParams)
           
 
Method Summary
 User authenticate(Map<String,String> params)
          authenticates a user and returns an instance of
 
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_USER

protected static final String AUTH_PARAM_USER
See Also:
Constant Field Values

AUTH_PARAM_PASSWORD

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

UserPasswordAuthentication

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

authenticate

public User authenticate(Map<String,String> params)
                  throws WrongCredentialsException
authenticates a user and returns an instance of

Specified by:
authenticate in class AbstractAuthentication
Returns:
an instance of User
Throws:
WrongCredentialsException
See Also:
User} if authentication has been successfull. Otherwise a WrongCredentialsException will be thrown

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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