The SecurityControllable object will provide a controller Id that needs to be mapped to a specific controller. See {@link SecurityControllable#getSecurityControllerId()}. This id will then be used in a call to {@link #getSecurityController(String)} to findthe registered security controller.
Each security controller is implicitly registered under its bean context id. Aliases may be registered by calling {@link #registerSecurityControllerAlias(String,SecurityController)}. Subsequently, any call to getSecurityController
with that alias id will return the registered security controller. This is useful for mapping generated command security controller ids (which are often a combination of a form id and a command face id) to the actual security controller that should manage the command. This provides a declarative model for linking commands to controllers instead of requiring the subclassing a Form in order to specify the command's security controller id.
@author Larry Streepy
@see org.springframework.richclient.security.support.DefaultSecurityControllerManager
|
|