org.springframework.richclient.core
Interface SecurityControllable

All Superinterfaces:
Authorizable
All Known Implementing Classes:
AboutCommand, AbstractActionCommandExecutor, AbstractCommand, AbstractReporterForm.StateSynchronizingToggleCommand, ActionCommand, AdjustFontSizeCommand, ApplicationWindowAwareCommand, CascadeCommand, CommandGroup, CommandGroupFactoryBean, DialogCommand, ExclusiveCommandGroup, ExitCommand, HelpContentsCommand, HibernateExceptionHandlerCommand, JXErrorDialogExceptionHandlerCommand, LoginCommand, LogoutCommand, MessagesDialogExceptionHandlerCommand, MinimizeAllCommand, NewWindowCommand, PreferenceCommand, ShowFrameCommand, ShowPageCommand, ShowPageMenu, ShowViewCommand, ShowViewMenu, SortTableCommand, TargetableActionCommand, TileCommand, TitleBarTimeStampCommand, ToggleCommand

public interface SecurityControllable
extends Authorizable

Interface implemented by objects whose authorized state can be controlled by a SecurityController. Any object that implements this interface and is processed by ApplicationObjectConfigurer.configure(Object, String) will be linked to the security controller with the id returned by getSecurityControllerId()

Author:
Larry Streepy
See Also:
SecurityController, ApplicationObjectConfigurer.configure(Object, String)

Field Summary
 
Fields inherited from interface org.springframework.richclient.core.Authorizable
AUTHORIZED_PROPERTY
 
Method Summary
 String getSecurityControllerId()
          Get the id (bean name) of the security controller that should manage this object.
 void setSecurityControllerId(String controllerId)
          Set the Id of the security controller that should manage this object.
 
Methods inherited from interface org.springframework.richclient.core.Authorizable
isAuthorized, setAuthorized
 

Method Detail

setSecurityControllerId

void setSecurityControllerId(String controllerId)
Set the Id of the security controller that should manage this object.

Parameters:
controllerId - Id (bean name) of the security controller

getSecurityControllerId

String getSecurityControllerId()
Get the id (bean name) of the security controller that should manage this object.

Returns:
controller id


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.