|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of object we are checking the access on.public interface AccessController<T>
A controller of accesses on the Silverpeas resources by a user..
| Method Summary | |
|---|---|
boolean |
isUserAuthorized(String userId,
T object)
Checks if the specified user may access the specified object. |
boolean |
isUserAuthorized(String userId,
T object,
AccessControlContext context)
Checks if the specified user may access the specified object. |
| Method Detail |
|---|
boolean isUserAuthorized(String userId,
T object)
userId - the unique identifier of the user.object - the object to be accessed.
boolean isUserAuthorized(String userId,
T object,
AccessControlContext context)
userId - the unique identifier of the user.object - the object to be accessed.context - the context in which the object is accessed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||