PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.handlers
Class DefaultLoginHandler

java.lang.Object
  extended by 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

Constructor Summary
DefaultLoginHandler()
           
 
Method Summary
 boolean authenticate(String username, Object credential)
          Authenticate the user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLoginHandler

public DefaultLoginHandler()
Method Detail

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 - username
credential - credential
Returns:
true - authenticated
Throws:
LoginException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.