info.aduna.gee.publication.servlets.db
Class Authorization
java.lang.Object
info.aduna.gee.publication.servlets.db.Authorization
public class Authorization
- extends Object
Password authentication using plain text String comparison.
|
Method Summary |
protected static boolean |
_passwordsMatch(String host,
String password,
UserInfo userInfo)
Change this in subclasses of Authorization |
static boolean |
checkOwner(String hostName,
String userName,
String storeName,
String password,
boolean personal,
boolean asis)
Check whether the combination of a user name, a store name and a password
form a correct full login on account "user name". |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Authorization
public Authorization()
checkOwner
public static boolean checkOwner(String hostName,
String userName,
String storeName,
String password,
boolean personal,
boolean asis)
- Check whether the combination of a user name, a store name and a password
form a correct full login on account "user name".
- Parameters:
hostName - the hostuserName - the account on which the operation is appliedstoreName - the name of the person doing the operationpassword - the passwordpersonal - if true the password must be the one of the account,
if false it may be of an associated ownerasis - if true, check the password "as-is", otherwise deconfuse it first- See Also:
WConfuse@confuse
_passwordsMatch
protected static boolean _passwordsMatch(String host,
String password,
UserInfo userInfo)
- Change this in subclasses of Authorization
Copyright © 1997-2008 Aduna. All Rights Reserved.