org.picketlink.identity.federation.web.handlers
Class DefaultLoginHandler
java.lang.Object
org.picketlink.identity.federation.web.handlers.DefaultLoginHandler
- All Implemented Interfaces:
- ILoginHandler
public class DefaultLoginHandler
- extends Object
- implements ILoginHandler
Default LoginHandler that uses a properties file in the classpath called as users.properties whose format is
username=password
- Since:
- Aug 18, 2009
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLoginHandler
public DefaultLoginHandler()
authenticate
public boolean authenticate(String username,
Object credential)
throws LoginException
- Description copied from interface:
ILoginHandler
- Authenticate the user
- Specified by:
authenticate
in interface ILoginHandler
- Parameters:
username
- usernamecredential
- credential
- Returns:
- true - authenticated
- Throws:
LoginException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.