|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectglogic.sample.sys.AuthKey
Simple token used to define authenticated user and associates them to a particular application.
| Constructor Summary | |
AuthKey(User user,
java.util.List appNameList)
|
|
| Method Summary | |
java.util.List |
getApplicationList()
Name List of applications user has access rights to. |
User |
getUser()
Get username of authenticated user |
java.lang.String |
getUsername()
|
boolean |
isAppAuthorized(java.lang.String appName)
Returns true if the app has already been authorized (ie is in List). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthKey(User user,
java.util.List appNameList)
| Method Detail |
public User getUser()
public java.lang.String getUsername()
getUsername in interface JThinSsoKeypublic java.util.List getApplicationList()
public boolean isAppAuthorized(java.lang.String appName)
|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||