Class PersistentProviderRegistrations.Provider
java.lang.Object
org.apache.catalina.authenticator.jaspic.PersistentProviderRegistrations.Provider
- Enclosing class:
PersistentProviderRegistrations
Represents a single JASPIC provider registration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a property to the provider.Returns the application context of the provider.Returns the class name of the provider.Returns the description of the provider.getLayer()Returns the layer of the provider.Returns the properties of the provider.voidsetAppContext(String appContext) Sets the application context of the provider.voidsetClassName(String className) Sets the class name of the provider.voidsetDescription(String description) Sets the description of the provider.voidSets the layer of the provider.voidsetProperty(String name, String value) Used by IntrospectionUtils via reflection.
-
Constructor Details
-
Provider
public Provider()Constructs a new Provider instance.
-
-
Method Details
-
getClassName
Returns the class name of the provider.- Returns:
- the class name
-
setClassName
Sets the class name of the provider.- Parameters:
className- the class name
-
getLayer
Returns the layer of the provider.- Returns:
- the layer
-
setLayer
Sets the layer of the provider.- Parameters:
layer- the layer
-
getAppContext
Returns the application context of the provider.- Returns:
- the application context
-
setAppContext
Sets the application context of the provider.- Parameters:
appContext- the application context
-
getDescription
Returns the description of the provider.- Returns:
- the description
-
setDescription
Sets the description of the provider.- Parameters:
description- the description
-
addProperty
Adds a property to the provider.- Parameters:
property- the property to add
-
setProperty
Used by IntrospectionUtils via reflection.- Parameters:
name- - the name of the property to set on this objectvalue- - the value to set- See Also:
-
getProperties
Returns the properties of the provider.- Returns:
- the properties
-