|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgran.app.adapter.auth.SimpleAuthAdapter
Constructor Summary | |
SimpleAuthAdapter()
|
Method Summary | |
boolean |
authorizeImpl(User user,
java.lang.String password,
boolean result)
TrackStudio call this method to authorize user |
void |
changePasswordImpl(User user,
java.lang.String password)
Called when user change password. |
java.lang.String |
getDescription()
Get description of adapter as plain text |
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 Adapter
public java.lang.String getDescription()
Adapter
getDescription
in interface Adapter
public boolean authorizeImpl(User user, java.lang.String password, boolean result) throws GranException
AuthAdapter
authorizeImpl
in interface AuthAdapter
user
- - loaded (by login) user form GR_USERpassword
- - entered password
GranException
public void changePasswordImpl(User user, java.lang.String password) throws GranException
AuthAdapter
changePasswordImpl
in interface AuthAdapter
GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |