org.dspace.sword
Class SWORDAuthentication

java.lang.Object
  extended by org.dspace.sword.SWORDAuthentication

public class SWORDAuthentication
extends Object

This class offers a thin wrapper for the default DSpace authentication module for the SWORD implementation

Author:
Richard Jones

Constructor Summary
SWORDAuthentication()
           
 
Method Summary
 boolean authenticates(Context context, String un, String pw)
          Does the given username and password authenticate for the given DSpace Context?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWORDAuthentication

public SWORDAuthentication()
Method Detail

authenticates

public boolean authenticates(Context context,
                             String un,
                             String pw)
Does the given username and password authenticate for the given DSpace Context?

Parameters:
context -
un -
pw -
Returns:
true if yes, false if not


Copyright © 2010 The DSpace Foundation. All Rights Reserved.