|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserAuthorisationCache
Cache to determine whether a user is authorised to authenticate with an application.
| Method Summary | |
|---|---|
void |
clear()
Clears the user authorisation cache. |
void |
clear(String userName,
String applicationName)
Clears a user from the user authorisation cache. |
Boolean |
isPermitted(String userName,
String applicationName)
Returns whether the user is permitted to authenticate with the application. |
void |
setPermitted(String userName,
String applicationName,
boolean permitted)
Sets whether the user is permitted to authenticate with the application. |
| Method Detail |
|---|
void setPermitted(String userName,
String applicationName,
boolean permitted)
userName - usernameapplicationName - name of the application to authenticatepermitted - set to true if the user is allowed to authenticate with the application, otherwise false.
Boolean isPermitted(String userName,
String applicationName)
userName - usernameapplicationName - name of the application the user is authenticating against
void clear()
void clear(String userName,
String applicationName)
userName - usernameapplicationName - name of the application to authenticate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||