org.deegree.security
Class UserPrincipalAuthentication
java.lang.Object
org.deegree.security.AbstractAuthentication
org.deegree.security.UserPrincipalAuthentication
public class UserPrincipalAuthentication
- extends AbstractAuthentication
- Author:
- Andreas Poth, last edited by: $Author: poth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTH_PARAM_USERPRINCIPAL
protected static final String AUTH_PARAM_USERPRINCIPAL
- See Also:
- Constant Field Values
UserPrincipalAuthentication
public UserPrincipalAuthentication(String authenticationName,
Map<String,String> initParams)
- Parameters:
authenticationName
- initParams
-
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net