public class SecurityProviderImpl extends Object implements SecurityProvider, WhiteboardAware
Constructor and Description |
---|
SecurityProviderImpl()
Default constructor used in OSGi environments.
|
SecurityProviderImpl(ConfigurationParameters configuration)
Create a new
SecurityProvider instance with the given configuration
parameters. |
Modifier and Type | Method and Description |
---|---|
<T> T |
getConfiguration(Class<T> configClass)
Returns the security configuration of the specified
configClass . |
Iterable<? extends SecurityConfiguration> |
getConfigurations()
Returns all available
SecurityConfiguration s. |
ConfigurationParameters |
getParameters(String name)
Allows to retrieve the configuration parameters associated with a
given
SecurityConfiguration
accessible by this provider. |
Whiteboard |
getWhiteboard()
Returns the whiteboard
|
void |
setWhiteboard(Whiteboard whiteboard)
Sets the whiteboard.
|
public SecurityProviderImpl()
public SecurityProviderImpl(ConfigurationParameters configuration)
SecurityProvider
instance with the given configuration
parameters.configuration
- security configurationpublic void setWhiteboard(Whiteboard whiteboard)
WhiteboardAware
setWhiteboard
in interface WhiteboardAware
whiteboard
- the whiteboardpublic Whiteboard getWhiteboard()
WhiteboardAware
getWhiteboard
in interface WhiteboardAware
public ConfigurationParameters getParameters(String name)
SecurityProvider
SecurityConfiguration
accessible by this provider. If the specified name is null
the global config parameters will be returned.getParameters
in interface SecurityProvider
name
- The name
of the security
configuration.SecurityConfiguration
identified by the specified name. If the specified name is null
the global config parameters will be returned.public Iterable<? extends SecurityConfiguration> getConfigurations()
SecurityProvider
SecurityConfiguration
s.getConfigurations
in interface SecurityProvider
SecurityConfiguration
s.public <T> T getConfiguration(Class<T> configClass)
SecurityProvider
configClass
.getConfiguration
in interface SecurityProvider
configClass
- The class of the configuration to retrieve."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"