Class SyncopeAuthenticationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.syncope.BaseSyncopeProperties
org.apereo.cas.configuration.model.support.syncope.SyncopeAuthenticationProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-syncope-authentication")
public class SyncopeAuthenticationProperties
extends BaseSyncopeProperties
This is
SyncopeAuthenticationProperties
.- Since:
- 5.3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMap of attributes that optionally may be used to control the names of the collected attributes from Syncope.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.getName()
Name of the authentication handler.int
getOrder()
The order of this authentication handler in the chain.Password encoder settings for the authentication handler.This is principal transformation properties.Handling just-in-time provisioning settings.getState()
Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.setAttributeMappings
(Map<String, String> attributeMappings) Map of attributes that optionally may be used to control the names of the collected attributes from Syncope.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.Name of the authentication handler.setOrder
(int order) The order of this authentication handler in the chain.setPasswordEncoder
(PasswordEncoderProperties passwordEncoder) Password encoder settings for the authentication handler.setPrincipalTransformation
(PrincipalTransformationProperties principalTransformation) This is principal transformation properties.setProvisioning
(SyncopePrincipalProvisioningProperties provisioning) Handling just-in-time provisioning settings.Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.Methods inherited from class org.apereo.cas.configuration.model.support.syncope.BaseSyncopeProperties
getDomain, getUrl, setDomain, setUrl
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
SyncopeAuthenticationProperties
public SyncopeAuthenticationProperties()
-
-
Method Details
-
getState
Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated. -
getName
Name of the authentication handler. -
getOrder
public int getOrder()The order of this authentication handler in the chain. -
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.
-
getAttributeMappings
Map of attributes that optionally may be used to control the names of the collected attributes from Syncope. If an attribute is provided by Syncope, it can be listed here as the key of the map with a value that should be the name of that attribute as collected and recorded by CAS. For example, the conventionlastLoginDate->lastDate
will process the Syncope attributelastLoginDate
and will internally rename that tolastDate
. If no mapping is specified, CAS defaults will be used instead. In other words, this settings allows one to virtually rename and remap Syncopen attributes during the authentication event. -
getPrincipalTransformation
This is principal transformation properties. -
getProvisioning
Handling just-in-time provisioning settings. -
setState
Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.- Returns:
this
.
-
setName
Name of the authentication handler.- Returns:
this
.
-
setOrder
The order of this authentication handler in the chain.- Returns:
this
.
-
setPasswordEncoder
public SyncopeAuthenticationProperties setPasswordEncoder(PasswordEncoderProperties passwordEncoder) 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
.
-
setAttributeMappings
Map of attributes that optionally may be used to control the names of the collected attributes from Syncope. If an attribute is provided by Syncope, it can be listed here as the key of the map with a value that should be the name of that attribute as collected and recorded by CAS. For example, the conventionlastLoginDate->lastDate
will process the Syncope attributelastLoginDate
and will internally rename that tolastDate
. If no mapping is specified, CAS defaults will be used instead. In other words, this settings allows one to virtually rename and remap Syncopen attributes during the authentication event.- Returns:
this
.
-
setPrincipalTransformation
public SyncopeAuthenticationProperties setPrincipalTransformation(PrincipalTransformationProperties principalTransformation) This is principal transformation properties.- Returns:
this
.
-
setProvisioning
public SyncopeAuthenticationProperties setProvisioning(SyncopePrincipalProvisioningProperties provisioning) Handling just-in-time provisioning settings.- Returns:
this
.
-