public interface SecurityService
| Modifier and Type | Method and Description |
|---|---|
SecurityHandler |
createSecurityHandler(ComponentContext envCtx)
Create a SecurityHandler based on the SecurityConfiguration.
|
SecurityHandler |
createSecurityHandler(ComponentContext envCtx,
String authLayer)
Create a SecurityHandler based on the SecurityConfiguration.
|
SecurityHandler |
getSecurityHandler(String componentId)
Get the SecurityHandler for a Component.
|
void |
removeSecurityHandler(String componentId)
Remove the SecurityHandler for the component, this method should be called when
the component is shutdown or uninstalled.
|
SecurityHandler createSecurityHandler(ComponentContext envCtx) throws IllegalStateException
envCtx - is the ComponentContext of the Binding Component associated
with the SecurityhandlerIllegalStateException - if the SecurityHandler is in a invalid
state on creation.SecurityHandler createSecurityHandler(ComponentContext envCtx, String authLayer) throws IllegalStateException
envCtx - is the ComponentContext of the Binding Component associated
with the SecurityhandlerauthLayer - is the type of layer that requires to use the security services.IllegalStateException - if the SecurityHandler is in a invalid
state on creation.SecurityHandler getSecurityHandler(String componentId)
componentId - is the Component Idvoid removeSecurityHandler(String componentId)
componentId - is the Component IdCopyright © 2011-2016 OpenESB Community. All Rights Reserved.