org.sakaiproject.component.section.facade.impl.standalone
Class AuthnTestImpl

java.lang.Object
  extended byorg.sakaiproject.component.section.facade.impl.standalone.AuthnTestImpl
All Implemented Interfaces:
Authn

public class AuthnTestImpl
extends Object
implements Authn

Authn implementation for testing. Note that the userUid can be set manually if a test needs to change the authn credential.

Author:
Josh Holtzman

Constructor Summary
AuthnTestImpl()
           
 
Method Summary
 String getUserUid(Object request)
          Gets the current user's uuid.
 void setUserUuid(String userUid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnTestImpl

public AuthnTestImpl()
Method Detail

getUserUid

public String getUserUid(Object request)
Description copied from interface: Authn
Gets the current user's uuid.

Specified by:
getUserUid in interface Authn
Parameters:
request - The object containing the context information. This will usually be something like a HttpServletRequest. In Sakai, the object can be null.
Returns:

setUserUuid

public void setUserUuid(String userUid)