Class CredentialsPolicyType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsPolicyType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class CredentialsPolicyType extends Object implements Serializable, Cloneable, Containerable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Credentials management policy. It specifies the management details for each supported credentials type. It defines parameters such as credential lifetime. It may define even a very complex schemes for some credential types. E.g. it may define a complete security questions. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> This section is a definition of user credentials that midPoint can MANAGE. Which mostly means writing/changing the credentials. This section is not directly concerned with authentication or credential reset - at least not directly. But there may be dependencies. E.g. password reset may use password policy to generate/validate new password. Also, resource-side passwords need to be defined here to be used by authentication modules. </p>
Java class for CredentialsPolicyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CredentialsPolicyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="default" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialPolicyType" minOccurs="0"/> <element name="password" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PasswordCredentialsPolicyType" minOccurs="0"/> <element name="securityQuestions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SecurityQuestionsCredentialsPolicyType" minOccurs="0"/> <element name="nonce" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NonceCredentialsPolicyType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DEFAULT
static ItemName
F_NONCE
static ItemName
F_PASSWORD
static ItemName
F_SECURITY_QUESTIONS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CredentialsPolicyType()
CredentialsPolicyType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
CredentialsPolicyType
public CredentialsPolicyType()
-
CredentialsPolicyType
public CredentialsPolicyType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getDefault
public CredentialPolicyType getDefault()
-
setDefault
public void setDefault(CredentialPolicyType value)
-
getPassword
public PasswordCredentialsPolicyType getPassword()
-
setPassword
public void setPassword(PasswordCredentialsPolicyType value)
-
getSecurityQuestions
public SecurityQuestionsCredentialsPolicyType getSecurityQuestions()
-
setSecurityQuestions
public void setSecurityQuestions(SecurityQuestionsCredentialsPolicyType value)
-
getNonce
public List<NonceCredentialsPolicyType> getNonce()
-
createNonceList
public List<NonceCredentialsPolicyType> createNonceList()
-
_default
public CredentialsPolicyType _default(CredentialPolicyType value)
-
beginDefault
public CredentialPolicyType beginDefault()
-
password
public CredentialsPolicyType password(PasswordCredentialsPolicyType value)
-
beginPassword
public PasswordCredentialsPolicyType beginPassword()
-
securityQuestions
public CredentialsPolicyType securityQuestions(SecurityQuestionsCredentialsPolicyType value)
-
beginSecurityQuestions
public SecurityQuestionsCredentialsPolicyType beginSecurityQuestions()
-
nonce
public CredentialsPolicyType nonce(NonceCredentialsPolicyType value)
-
beginNonce
public NonceCredentialsPolicyType beginNonce()
-
clone
public CredentialsPolicyType clone()
-
-