org.sakaiproject.component.common.authentication
Class OpenAuthnComponent

java.lang.Object
  extended byorg.sakaiproject.component.common.authentication.OpenAuthnComponent
All Implemented Interfaces:
AuthenticationManager

public class OpenAuthnComponent
extends Object
implements AuthenticationManager

A placeholder wide open Authentication - returns the password as the authentication user (UUID) id.

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Constructor Summary
OpenAuthnComponent()
           
 
Method Summary
 Authentication authenticate(Evidence e)
          Attempt to authenticate a user by the given evidence.
 void destroy()
          Final cleanup.
 void init()
          Final initialization, once all dependencies are set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenAuthnComponent

public OpenAuthnComponent()
Method Detail

init

public void init()
Final initialization, once all dependencies are set.


destroy

public void destroy()
Final cleanup.


authenticate

public Authentication authenticate(Evidence e)
                            throws AuthenticationException
Description copied from interface: AuthenticationManager
Attempt to authenticate a user by the given evidence. Success produces the authenticated user id. Failure throws an exception.

Specified by:
authenticate in interface AuthenticationManager
Parameters:
e - The collected evidence to authenticate.
Returns:
The authentication information if authenticated.
Throws:
AuthenticationException - if the evidence is not understood or not valid.