|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityController
A security controller is responsible for authorizing other Authorizable
objects. Based on the current authentication and the configured access decision rules,
the controlled objects will have their Authorizable.setAuthorized(boolean)
method called accordingly.
The access decision manager is responsible for making the decision to authorize the controlled objects.
Method Summary | |
---|---|
void |
addControlledObject(Authorizable object)
Add an object to our controlled set. |
org.springframework.security.AccessDecisionManager |
getAccessDecisionManager()
Get the access decision manager in use |
Object |
removeControlledObject(Authorizable object)
Remove an object from our controlled set. |
void |
setAccessDecisionManager(org.springframework.security.AccessDecisionManager accessDecisionManager)
Set the access decision manager to use |
void |
setControlledObjects(List secured)
Set the objects that are to be controlled. |
Methods inherited from interface org.springframework.richclient.security.AuthenticationAware |
---|
setAuthenticationToken |
Method Detail |
---|
void setAccessDecisionManager(org.springframework.security.AccessDecisionManager accessDecisionManager)
accessDecisionManager
- org.springframework.security.AccessDecisionManager getAccessDecisionManager()
void setControlledObjects(List secured)
Authorized
interface are processed.
secured
- List of objects to controlvoid addControlledObject(Authorizable object)
object
- to controlObject removeControlledObject(Authorizable object)
object
- to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |