Enum Class ExtendableLoginPageAdapter.InstallWith
java.lang.Object
java.lang.Enum<ExtendableLoginPageAdapter.InstallWith>
software.xdev.spring.security.web.authentication.ui.extendable.ExtendableLoginPageAdapter.InstallWith
- All Implemented Interfaces:
Serializable
,Comparable<ExtendableLoginPageAdapter.InstallWith>
,Constable
- Enclosing class:
- ExtendableLoginPageAdapter<SELF extends ExtendableLoginPageAdapter<SELF,
SHARED_FILTER, LOGIN_FILTER, LOGOUT_FILTER, H>, SHARED_FILTER extends ExtendableDefaultPageGeneratingFilter, LOGIN_FILTER extends ExtendableDefaultLoginPageGeneratingFilter, LOGOUT_FILTER extends ExtendableDefaultLogoutPageGeneratingFilter, H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>
public static enum ExtendableLoginPageAdapter.InstallWith
extends Enum<ExtendableLoginPageAdapter.InstallWith>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInstall inside the constructor.Install inside theExtendableLoginPageAdapter.init(HttpSecurityBuilder)
method. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONSTRUCTOR
Install inside the constructor.This is the recommended way as it occurs before
DefaultLoginPageConfigurer.init(HttpSecurityBuilder)
is executed and therefore init is only done once.
Note however that you need to ensure that this is executed BEFOREDefaultLoginPageConfigurer.init(HttpSecurityBuilder)
, which is usually the case. -
INIT_METHOD
Install inside theExtendableLoginPageAdapter.init(HttpSecurityBuilder)
method.Not recommended as
DefaultLoginPageConfigurer.init(HttpSecurityBuilder)
ANDExtendableLoginPageAdapter.init(HttpSecurityBuilder)
are executed
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-