| com.sun.jbi.binding.security.SecurityService
All known Subclasses: com.sun.jbi.internal.security.SecurityService,
SecurityService | public interface SecurityService (Code) | | The Security service is the factory for Security Handlers. A Security handler is
is created for each binding component based on its installation configuration.
author: Sun Microsystems, Inc. |
createSecurityHandler | SecurityHandler createSecurityHandler(ComponentContext envCtx) throws IllegalStateException(Code) | | Create a SecurityHandler based on the SecurityConfiguration.
Parameters: envCtx - is the ComponentContext of the Binding Component associatedwith the Securityhandler a instance of the newly created SecurityHandler throws: IllegalStateException - if the SecurityHandler is in a invalidstate on creation. |
createSecurityHandler | SecurityHandler createSecurityHandler(ComponentContext envCtx, String authLayer) throws IllegalStateException(Code) | | Create a SecurityHandler based on the SecurityConfiguration.
Parameters: envCtx - is the ComponentContext of the Binding Component associatedwith the Securityhandler Parameters: authLayer - is the type of layer that requires to use the security services. a instance of the newly created SecurityHandler throws: IllegalStateException - if the SecurityHandler is in a invalidstate on creation. |
getSecurityHandler | SecurityHandler getSecurityHandler(String componentId)(Code) | | Get the SecurityHandler for a Component.
Parameters: componentId - is the Component Id a instance of the components SecurityHandler, if it exists null otherwise. |
removeSecurityHandler | void removeSecurityHandler(String componentId)(Code) | | Remove the SecurityHandler for the component, this method should be called when
the component is shutdown or uninstalled.
Parameters: componentId - is the Component Id |
|
|