public class SecurityProviderImpl extends java.lang.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(java.lang.Class<T> configClass)
Returns the security configuration of the specified
configClass. |
java.lang.Iterable<? extends SecurityConfiguration> |
getConfigurations()
Returns all available
SecurityConfigurations. |
ConfigurationParameters |
getParameters(java.lang.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)
WhiteboardAwaresetWhiteboard in interface WhiteboardAwarewhiteboard - the whiteboardpublic Whiteboard getWhiteboard()
WhiteboardAwaregetWhiteboard in interface WhiteboardAwarepublic ConfigurationParameters getParameters(java.lang.String name)
SecurityProviderSecurityConfiguration
accessible by this provider. If the specified name is null
the global config parameters will be returned.getParameters in interface SecurityProvidername - 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 java.lang.Iterable<? extends SecurityConfiguration> getConfigurations()
SecurityProviderSecurityConfigurations.getConfigurations in interface SecurityProviderSecurityConfigurations.public <T> T getConfiguration(java.lang.Class<T> configClass)
SecurityProviderconfigClass.getConfiguration in interface SecurityProviderconfigClass - The class of the configuration to retrieve."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"