Interface SecurityConfiguration
-
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
- All Known Subinterfaces:
AuthenticationService,AuthorizationService,RoleMappingService
public interface SecurityConfiguration extends org.jvnet.hk2.config.ConfigBeanProxyBase interface for all security service configurations. Each security service configuration has a name, indication of the service configuration being the default when multiple service configurations are present and an optional list of the specific security provider plugins.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSecurityConfiguration.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetDefault()Determine if this is the default instance.@NotNull StringgetName()Gets the name of the security service instance.SecurityProvidergetSecurityProviderByName(String name)Gets a named security provider.List<SecurityProvider>getSecurityProviders()Gets the list of the security provider plugins used by the security service.voidsetDefault(boolean defaultValue)voidsetName(String value)
-
-
-
Method Detail
-
getName
@NotNull @NotNull String getName()
Gets the name of the security service instance.
-
setName
void setName(String value) throws PropertyVetoException
- Throws:
PropertyVetoException
-
getDefault
boolean getDefault()
Determine if this is the default instance.
-
setDefault
void setDefault(boolean defaultValue) throws PropertyVetoException- Throws:
PropertyVetoException
-
getSecurityProviders
List<SecurityProvider> getSecurityProviders()
Gets the list of the security provider plugins used by the security service.
-
getSecurityProviderByName
@DuckTyped SecurityProvider getSecurityProviderByName(String name)
Gets a named security provider.
-
-