Class SecurityProviderImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.security.SecurityProviderImpl
-
- All Implemented Interfaces:
SecurityProvider
,WhiteboardAware
@Deprecated public class SecurityProviderImpl extends Object implements SecurityProvider, WhiteboardAware
Deprecated.Replaced byorg.apache.jackrabbit.oak.security.internal.SecurityProviderBuilder
-
-
Constructor Summary
Constructors Constructor Description SecurityProviderImpl()
Deprecated.Default constructor used in OSGi environments.SecurityProviderImpl(@NotNull ConfigurationParameters configuration)
Deprecated.Create a newSecurityProvider
instance with the given configuration parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
activate(org.osgi.framework.BundleContext context)
Deprecated.protected void
bindAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Deprecated.protected void
bindAuthorizationConfiguration(@NotNull AuthorizationConfiguration reference)
Deprecated.protected void
bindPrincipalConfiguration(@NotNull PrincipalConfiguration reference)
Deprecated.protected void
bindPrivilegeConfiguration(PrivilegeConfiguration privilegeConfiguration)
Deprecated.protected void
bindTokenConfiguration(@NotNull TokenConfiguration reference)
Deprecated.protected void
bindUserConfiguration(UserConfiguration userConfiguration)
Deprecated.protected void
deactivate()
Deprecated.<T> T
getConfiguration(@NotNull Class<T> configClass)
Deprecated.Returns the security configuration of the specifiedconfigClass
.@NotNull Iterable<? extends SecurityConfiguration>
getConfigurations()
Deprecated.Returns all availableSecurityConfiguration
s.@NotNull ConfigurationParameters
getParameters(@Nullable String name)
Deprecated.Allows to retrieve the configuration parameters associated with a givenSecurityConfiguration
accessible by this provider.@Nullable Whiteboard
getWhiteboard()
Deprecated.Returns the whiteboardvoid
setWhiteboard(@NotNull Whiteboard whiteboard)
Deprecated.Sets the whiteboard.protected void
unbindAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Deprecated.protected void
unbindAuthorizationConfiguration(@NotNull AuthorizationConfiguration reference)
Deprecated.protected void
unbindPrincipalConfiguration(@NotNull PrincipalConfiguration reference)
Deprecated.protected void
unbindPrivilegeConfiguration(PrivilegeConfiguration privilegeConfiguration)
Deprecated.protected void
unbindTokenConfiguration(@NotNull TokenConfiguration reference)
Deprecated.protected void
unbindUserConfiguration(UserConfiguration userConfiguration)
Deprecated.
-
-
-
Constructor Detail
-
SecurityProviderImpl
public SecurityProviderImpl()
Deprecated.Default constructor used in OSGi environments.
-
SecurityProviderImpl
public SecurityProviderImpl(@NotNull @NotNull ConfigurationParameters configuration)
Deprecated.Create a newSecurityProvider
instance with the given configuration parameters.- Parameters:
configuration
- security configuration
-
-
Method Detail
-
setWhiteboard
public void setWhiteboard(@NotNull @NotNull Whiteboard whiteboard)
Deprecated.Description copied from interface:WhiteboardAware
Sets the whiteboard.- Specified by:
setWhiteboard
in interfaceWhiteboardAware
- Parameters:
whiteboard
- the whiteboard
-
getWhiteboard
@Nullable public @Nullable Whiteboard getWhiteboard()
Deprecated.Description copied from interface:WhiteboardAware
Returns the whiteboard- Specified by:
getWhiteboard
in interfaceWhiteboardAware
- Returns:
- the whiteboard
-
getParameters
@NotNull public @NotNull ConfigurationParameters getParameters(@Nullable @Nullable String name)
Deprecated.Description copied from interface:SecurityProvider
Allows to retrieve the configuration parameters associated with a givenSecurityConfiguration
accessible by this provider. If the specified name isnull
the global config parameters will be returned.- Specified by:
getParameters
in interfaceSecurityProvider
- Parameters:
name
- Thename
of the security configuration.- Returns:
- The configuration parameters associated with the
SecurityConfiguration
identified by the specified name. If the specified name isnull
the global config parameters will be returned.
-
getConfigurations
@NotNull public @NotNull Iterable<? extends SecurityConfiguration> getConfigurations()
Deprecated.Description copied from interface:SecurityProvider
Returns all availableSecurityConfiguration
s.- Specified by:
getConfigurations
in interfaceSecurityProvider
- Returns:
- the available
SecurityConfiguration
s.
-
getConfiguration
@NotNull public <T> T getConfiguration(@NotNull @NotNull Class<T> configClass)
Deprecated.Description copied from interface:SecurityProvider
Returns the security configuration of the specifiedconfigClass
.- Specified by:
getConfiguration
in interfaceSecurityProvider
- Parameters:
configClass
- The class of the configuration to retrieve.- Returns:
- The desired security configuration.
-
activate
protected void activate(org.osgi.framework.BundleContext context)
Deprecated.
-
deactivate
protected void deactivate()
Deprecated.
-
bindPrincipalConfiguration
protected void bindPrincipalConfiguration(@NotNull @NotNull PrincipalConfiguration reference)
Deprecated.
-
unbindPrincipalConfiguration
protected void unbindPrincipalConfiguration(@NotNull @NotNull PrincipalConfiguration reference)
Deprecated.
-
bindTokenConfiguration
protected void bindTokenConfiguration(@NotNull @NotNull TokenConfiguration reference)
Deprecated.
-
unbindTokenConfiguration
protected void unbindTokenConfiguration(@NotNull @NotNull TokenConfiguration reference)
Deprecated.
-
bindAuthorizationConfiguration
protected void bindAuthorizationConfiguration(@NotNull @NotNull AuthorizationConfiguration reference)
Deprecated.
-
unbindAuthorizationConfiguration
protected void unbindAuthorizationConfiguration(@NotNull @NotNull AuthorizationConfiguration reference)
Deprecated.
-
bindAuthenticationConfiguration
protected void bindAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Deprecated.
-
unbindAuthenticationConfiguration
protected void unbindAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Deprecated.
-
bindPrivilegeConfiguration
protected void bindPrivilegeConfiguration(PrivilegeConfiguration privilegeConfiguration)
Deprecated.
-
unbindPrivilegeConfiguration
protected void unbindPrivilegeConfiguration(PrivilegeConfiguration privilegeConfiguration)
Deprecated.
-
bindUserConfiguration
protected void bindUserConfiguration(UserConfiguration userConfiguration)
Deprecated.
-
unbindUserConfiguration
protected void unbindUserConfiguration(UserConfiguration userConfiguration)
Deprecated.
-
-