org.sakaiproject.util
Class Authentication

java.lang.Object
  extended byorg.sakaiproject.util.Authentication
All Implemented Interfaces:
Authentication

public class Authentication
extends Object
implements Authentication

Authentication is a utility class that implements the Authentication interface.

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

Field Summary
protected  String m_eid
          The enterprise identifier string.
protected  String m_uid
          The UUID identifier string.
 
Constructor Summary
Authentication(String uid, String eid)
          Construct, with uid and eid
 
Method Summary
 String getEid()
          Access the enterprise id of the authenticated end user.
 String getUid()
          Access the internal id of the authenticated end user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_uid

protected String m_uid
The UUID identifier string.


m_eid

protected String m_eid
The enterprise identifier string.

Constructor Detail

Authentication

public Authentication(String uid,
                      String eid)
Construct, with uid and eid

Parameters:
uid - The UUID internal end user identifier string.
eid - The enterprise end user identifier string.
Method Detail

getUid

public String getUid()
Description copied from interface: Authentication
Access the internal id of the authenticated end user.

Specified by:
getUid in interface Authentication
Returns:
The internal id (if known) of the authenticated end user, null if not known.

getEid

public String getEid()
Description copied from interface: Authentication
Access the enterprise id of the authenticated end user.

Specified by:
getEid in interface Authentication
Returns:
The enterprise id (if known) of the authenticated end user, null if not known.