org.kuali.student.common.ws.security
Class AuthenticationService
java.lang.Object
org.kuali.student.common.ws.security.AuthenticationService
public class AuthenticationService
- extends Object
Since we don't have an authentication service, this is a stupid class that
verifies passwords and returns person ids based on a ks.users.xml file loaded from the classpath.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
passwords
private static Map<String,String> passwords
personids
private static Map<String,String> personids
AuthenticationService
public AuthenticationService()
validateUsernamePassword
public static boolean validateUsernamePassword(String username,
String password)
getPasswordForUsername
public static String getPasswordForUsername(String username)
getPersonIdForUsername
public static String getPersonIdForUsername(String username)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.