Class AcceptAuthenticationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.generic.AcceptAuthenticationProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-authentication")
public class AcceptAuthenticationProperties
extends Object
implements Serializable
This is
AcceptAuthenticationProperties
.- Since:
- 5.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA number of authentication handlers are allowed to determine whether they can operate on the provided credential and as such lend themselves to be tried and tested during the authentication handler selection phase.getName()
Name of the authentication handler.int
getOrder()
Order of the authentication handler in the chain.Password encoder settings for the authentication handler.Password policy settings.This is principal transformation properties.getState()
Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.getUsers()
Accepted users for authentication, in the syntax ofuid::password
.boolean
Indicates whether the authentication strategy is enabled.setCredentialCriteria
(String credentialCriteria) A number of authentication handlers are allowed to determine whether they can operate on the provided credential and as such lend themselves to be tried and tested during the authentication handler selection phase.setEnabled
(boolean enabled) Indicates whether the authentication strategy is enabled.Name of the authentication handler.setOrder
(int order) Order of the authentication handler in the chain.setPasswordEncoder
(PasswordEncoderProperties passwordEncoder) Password encoder settings for the authentication handler.setPasswordPolicy
(PasswordPolicyProperties passwordPolicy) Password policy settings.setPrincipalTransformation
(PrincipalTransformationProperties principalTransformation) This is principal transformation properties.Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.Accepted users for authentication, in the syntax ofuid::password
.
-
Constructor Details
-
AcceptAuthenticationProperties
public AcceptAuthenticationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Indicates whether the authentication strategy is enabled. The strategy may also be disabled explicitly if theusers
is left blank. -
getUsers
Accepted users for authentication, in the syntax ofuid::password
. -
getOrder
public int getOrder()Order of the authentication handler in the chain. -
getName
Name of the authentication handler. -
getPasswordEncoder
Password encoder settings for the authentication handler. -
getCredentialCriteria
A number of authentication handlers are allowed to determine whether they can operate on the provided credential and as such lend themselves to be tried and tested during the authentication handler selection phase. The credential criteria may be one of the following options:- 1) A regular expression pattern that is tested against the credential identifier.
- 2) A fully qualified class name of your own design that implements
Predicate
. - 3) Path to an external Groovy script that implements the same interface.
-
getPrincipalTransformation
This is principal transformation properties. -
getPasswordPolicy
Password policy settings. -
getState
Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated. -
setEnabled
Indicates whether the authentication strategy is enabled. The strategy may also be disabled explicitly if theusers
is left blank.- Returns:
this
.
-
setUsers
Accepted users for authentication, in the syntax ofuid::password
.- Returns:
this
.
-
setOrder
Order of the authentication handler in the chain.- Returns:
this
.
-
setName
Name of the authentication handler.- Returns:
this
.
-
setPasswordEncoder
Password encoder settings for the authentication handler.- Returns:
this
.
-
setCredentialCriteria
A number of authentication handlers are allowed to determine whether they can operate on the provided credential and as such lend themselves to be tried and tested during the authentication handler selection phase. The credential criteria may be one of the following options:- 1) A regular expression pattern that is tested against the credential identifier.
- 2) A fully qualified class name of your own design that implements
Predicate
. - 3) Path to an external Groovy script that implements the same interface.
- Returns:
this
.
-
setPrincipalTransformation
public AcceptAuthenticationProperties setPrincipalTransformation(PrincipalTransformationProperties principalTransformation) This is principal transformation properties.- Returns:
this
.
-
setPasswordPolicy
Password policy settings.- Returns:
this
.
-
setState
Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.- Returns:
this
.
-