Class MongoDbAuthenticationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.mongo.BaseMongoDbProperties
org.apereo.cas.configuration.model.support.mongo.SingleCollectionMongoDbProperties
org.apereo.cas.configuration.model.support.mongo.MongoDbAuthenticationProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-mongo")
public class MongoDbAuthenticationProperties
extends SingleCollectionMongoDbProperties
This is
MongoDbAuthenticationProperties
.- Since:
- 5.0.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 TypeMethodDescriptionAttributes to fetch from Mongo (blank by default to force the pac4j legacy behavior).getName()
Name of the authentication handler.int
getOrder()
Order of authentication handler in chain.Attribute that holds the password.Password encoder settings for the authentication handler.Attribute that would be used to establish the authenticated profile.This is principal transformation properties.Attributes that holds the username.setAttributes
(String attributes) Attributes to fetch from Mongo (blank by default to force the pac4j legacy behavior).Name of the authentication handler.setOrder
(int order) Order of authentication handler in chain.setPasswordAttribute
(String passwordAttribute) Attribute that holds the password.setPasswordEncoder
(PasswordEncoderProperties passwordEncoder) Password encoder settings for the authentication handler.setPrincipalIdAttribute
(String principalIdAttribute) Attribute that would be used to establish the authenticated profile.setPrincipalTransformation
(PrincipalTransformationProperties principalTransformation) This is principal transformation properties.setUsernameAttribute
(String usernameAttribute) Attributes that holds the username.Methods inherited from class org.apereo.cas.configuration.model.support.mongo.SingleCollectionMongoDbProperties
getCollection, isDropCollection, setCollection, setDropCollection
Methods inherited from class org.apereo.cas.configuration.model.support.mongo.BaseMongoDbProperties
getAuthenticationDatabaseName, getClientUri, getDatabaseName, getHost, getPassword, getPool, getPort, getReadConcern, getReadPreference, getReplicaSet, getTimeout, getUserId, getWriteConcern, isRetryWrites, isSocketKeepAlive, isSslEnabled, setAuthenticationDatabaseName, setClientUri, setDatabaseName, setHost, setPassword, setPool, setPort, setReadConcern, setReadPreference, setReplicaSet, setRetryWrites, setSocketKeepAlive, setSslEnabled, setTimeout, setUserId, setWriteConcern
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
-
MongoDbAuthenticationProperties
public MongoDbAuthenticationProperties()
-
-
Method Details
-
getAttributes
Attributes to fetch from Mongo (blank by default to force the pac4j legacy behavior). -
getUsernameAttribute
Attributes that holds the username. -
getPasswordAttribute
Attribute that holds the password. -
getPrincipalIdAttribute
Attribute that would be used to establish the authenticated profile. -
getPasswordEncoder
Password encoder settings for the authentication handler. -
getPrincipalTransformation
This is principal transformation properties. -
getName
Name of the authentication handler. -
getOrder
public int getOrder()Order of authentication handler in chain. -
setAttributes
Attributes to fetch from Mongo (blank by default to force the pac4j legacy behavior).- Returns:
this
.
-
setUsernameAttribute
Attributes that holds the username.- Returns:
this
.
-
setPasswordAttribute
Attribute that holds the password.- Returns:
this
.
-
setPrincipalIdAttribute
Attribute that would be used to establish the authenticated profile.- Returns:
this
.
-
setPasswordEncoder
public MongoDbAuthenticationProperties setPasswordEncoder(PasswordEncoderProperties passwordEncoder) Password encoder settings for the authentication handler.- Returns:
this
.
-
setPrincipalTransformation
public MongoDbAuthenticationProperties setPrincipalTransformation(PrincipalTransformationProperties principalTransformation) This is principal transformation properties.- Returns:
this
.
-
setName
Name of the authentication handler.- Returns:
this
.
-
setOrder
Order of authentication handler in chain.- Returns:
this
.
-