Class PasswordCredentialsPolicyType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialPolicyType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordCredentialsPolicyType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class PasswordCredentialsPolicyType extends CredentialPolicyType 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"> Structure that specifies policy for password management. It is in fact only a simple reference to a password policy. </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 is a credential policy. Which means that it controls how credentials are set (stored). It does not control how credentials are used for authentication. That is controlled by the authentication module setting - and in fact this may even be out of our control completely, e.g. in case that external authentication is used (SSO). </p>
Java class for PasswordCredentialsPolicyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PasswordCredentialsPolicyType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialPolicyType"> <sequence> <element name="passwordChangeSecurity" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PasswordChangeSecurityType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_PASSWORD_CHANGE_SECURITY
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialPolicyType
F_DESCRIPTION, F_DOCUMENTATION, F_HISTORY_ALLOW_EXISTING_PASSWORD_REUSE, F_HISTORY_LENGTH, F_HISTORY_STORAGE_METHOD, F_LOCKOUT_DURATION, F_LOCKOUT_FAILED_ATTEMPTS_DURATION, F_LOCKOUT_MAX_FAILED_ATTEMPTS, F_MAX_AGE, F_MAX_OCCURS, F_MIN_AGE, F_MIN_OCCURS, F_NAME, F_PROPAGATION_USER_CONTROL, F_RESET_METHOD, F_STORAGE_METHOD, F_VALUE_POLICY_REF, F_WARNING_BEFORE_EXPIRATION_DURATION
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PasswordCredentialsPolicyType()
PasswordCredentialsPolicyType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialPolicyType
getDescription, getDocumentation, getHistoryLength, getHistoryStorageMethod, getLockoutDuration, getLockoutFailedAttemptsDuration, getLockoutMaxFailedAttempts, getMaxAge, getMaxOccurs, getMinAge, getMinOccurs, getName, getPropagationUserControl, getResetMethod, getStorageMethod, getValuePolicyRef, getWarningBeforeExpirationDuration, isHistoryAllowExistingPasswordReuse, setDescription, setDocumentation, setHistoryAllowExistingPasswordReuse, setHistoryLength, setHistoryStorageMethod, setLockoutDuration, setLockoutFailedAttemptsDuration, setLockoutMaxFailedAttempts, setMaxAge, setMaxOccurs, setMinAge, setMinOccurs, setName, setPropagationUserControl, setResetMethod, setStorageMethod, setValuePolicyRef, setWarningBeforeExpirationDuration
-
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
-
PasswordCredentialsPolicyType
public PasswordCredentialsPolicyType()
-
PasswordCredentialsPolicyType
public PasswordCredentialsPolicyType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classCredentialPolicyType
-
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
- Overrides:
setupContainerValue
in classCredentialPolicyType
-
toString
public String toString()
- Overrides:
toString
in classCredentialPolicyType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classCredentialPolicyType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCredentialPolicyType
-
end
public <X> X end()
- Overrides:
end
in classCredentialPolicyType
-
getPasswordChangeSecurity
public PasswordChangeSecurityType getPasswordChangeSecurity()
-
setPasswordChangeSecurity
public void setPasswordChangeSecurity(PasswordChangeSecurityType value)
-
passwordChangeSecurity
public PasswordCredentialsPolicyType passwordChangeSecurity(PasswordChangeSecurityType value)
-
name
public PasswordCredentialsPolicyType name(String value)
- Overrides:
name
in classCredentialPolicyType
-
description
public PasswordCredentialsPolicyType description(String value)
- Overrides:
description
in classCredentialPolicyType
-
documentation
public PasswordCredentialsPolicyType documentation(String value)
- Overrides:
documentation
in classCredentialPolicyType
-
storageMethod
public PasswordCredentialsPolicyType storageMethod(CredentialsStorageMethodType value)
- Overrides:
storageMethod
in classCredentialPolicyType
-
beginStorageMethod
public CredentialsStorageMethodType beginStorageMethod()
- Overrides:
beginStorageMethod
in classCredentialPolicyType
-
resetMethod
public PasswordCredentialsPolicyType resetMethod(CredentialsResetMethodType value)
- Overrides:
resetMethod
in classCredentialPolicyType
-
beginResetMethod
public CredentialsResetMethodType beginResetMethod()
- Overrides:
beginResetMethod
in classCredentialPolicyType
-
propagationUserControl
public PasswordCredentialsPolicyType propagationUserControl(CredentialsPropagationUserControlType value)
- Overrides:
propagationUserControl
in classCredentialPolicyType
-
minOccurs
public PasswordCredentialsPolicyType minOccurs(String value)
- Overrides:
minOccurs
in classCredentialPolicyType
-
maxOccurs
public PasswordCredentialsPolicyType maxOccurs(String value)
- Overrides:
maxOccurs
in classCredentialPolicyType
-
maxAge
public PasswordCredentialsPolicyType maxAge(Duration value)
- Overrides:
maxAge
in classCredentialPolicyType
-
minAge
public PasswordCredentialsPolicyType minAge(Duration value)
- Overrides:
minAge
in classCredentialPolicyType
-
warningBeforeExpirationDuration
public PasswordCredentialsPolicyType warningBeforeExpirationDuration(Duration value)
- Overrides:
warningBeforeExpirationDuration
in classCredentialPolicyType
-
lockoutMaxFailedAttempts
public PasswordCredentialsPolicyType lockoutMaxFailedAttempts(Integer value)
- Overrides:
lockoutMaxFailedAttempts
in classCredentialPolicyType
-
lockoutFailedAttemptsDuration
public PasswordCredentialsPolicyType lockoutFailedAttemptsDuration(Duration value)
- Overrides:
lockoutFailedAttemptsDuration
in classCredentialPolicyType
-
lockoutDuration
public PasswordCredentialsPolicyType lockoutDuration(Duration value)
- Overrides:
lockoutDuration
in classCredentialPolicyType
-
valuePolicyRef
public PasswordCredentialsPolicyType valuePolicyRef(ObjectReferenceType value)
- Overrides:
valuePolicyRef
in classCredentialPolicyType
-
valuePolicyRef
public PasswordCredentialsPolicyType valuePolicyRef(String oid, QName type)
- Overrides:
valuePolicyRef
in classCredentialPolicyType
-
valuePolicyRef
public PasswordCredentialsPolicyType valuePolicyRef(String oid, QName type, QName relation)
- Overrides:
valuePolicyRef
in classCredentialPolicyType
-
beginValuePolicyRef
public ObjectReferenceType beginValuePolicyRef()
- Overrides:
beginValuePolicyRef
in classCredentialPolicyType
-
historyLength
public PasswordCredentialsPolicyType historyLength(Integer value)
- Overrides:
historyLength
in classCredentialPolicyType
-
historyStorageMethod
public PasswordCredentialsPolicyType historyStorageMethod(CredentialsStorageMethodType value)
- Overrides:
historyStorageMethod
in classCredentialPolicyType
-
beginHistoryStorageMethod
public CredentialsStorageMethodType beginHistoryStorageMethod()
- Overrides:
beginHistoryStorageMethod
in classCredentialPolicyType
-
historyAllowExistingPasswordReuse
public PasswordCredentialsPolicyType historyAllowExistingPasswordReuse(Boolean value)
- Overrides:
historyAllowExistingPasswordReuse
in classCredentialPolicyType
-
clone
public PasswordCredentialsPolicyType clone()
- Overrides:
clone
in classCredentialPolicyType
-
-