| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.app.adapter.auth.SimpleAuthAdapter
public class SimpleAuthAdapter
Basic Database Authentication Adapter
| Constructor Summary | |
|---|---|
SimpleAuthAdapter()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
authorizeImpl(java.lang.String userId,
              java.lang.String password,
              boolean result)
Do authoriztion  | 
 void | 
changePasswordImpl(java.lang.String userId,
                   java.lang.String password)
Change password for the specified user  | 
 java.lang.String | 
getDescription()
Adapter's description  | 
 boolean | 
init()
Initialize adapter.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SimpleAuthAdapter()
| Method Detail | 
|---|
public boolean init()
Adapter
init in interface Adapterpublic java.lang.String getDescription()
getDescription in interface Adapter
public boolean authorizeImpl(java.lang.String userId,
                             java.lang.String password,
                             boolean result)
                      throws GranException
authorizeImpl in interface AuthAdapteruserId - loaded (by login) user's idpassword - passwordresult - if true, does nothing and return true
GranException
public void changePasswordImpl(java.lang.String userId,
                               java.lang.String password)
                        throws GranException
changePasswordImpl in interface AuthAdapteruserId - loaded (by login) user's idpassword - new password
GranException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||