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 QNameCOMPLEX_TYPEstatic ItemNameF_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:
asPrismContainerValuein interfaceContainerable- Overrides:
asPrismContainerValuein classCredentialPolicyType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable- Overrides:
setupContainerValuein classCredentialPolicyType
-
toString
public String toString()
- Overrides:
toStringin classCredentialPolicyType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classCredentialPolicyType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCredentialPolicyType
-
end
public <X> X end()
- Overrides:
endin classCredentialPolicyType
-
getPasswordChangeSecurity
public PasswordChangeSecurityType getPasswordChangeSecurity()
-
setPasswordChangeSecurity
public void setPasswordChangeSecurity(PasswordChangeSecurityType value)
-
passwordChangeSecurity
public PasswordCredentialsPolicyType passwordChangeSecurity(PasswordChangeSecurityType value)
-
name
public PasswordCredentialsPolicyType name(String value)
- Overrides:
namein classCredentialPolicyType
-
description
public PasswordCredentialsPolicyType description(String value)
- Overrides:
descriptionin classCredentialPolicyType
-
documentation
public PasswordCredentialsPolicyType documentation(String value)
- Overrides:
documentationin classCredentialPolicyType
-
storageMethod
public PasswordCredentialsPolicyType storageMethod(CredentialsStorageMethodType value)
- Overrides:
storageMethodin classCredentialPolicyType
-
beginStorageMethod
public CredentialsStorageMethodType beginStorageMethod()
- Overrides:
beginStorageMethodin classCredentialPolicyType
-
resetMethod
public PasswordCredentialsPolicyType resetMethod(CredentialsResetMethodType value)
- Overrides:
resetMethodin classCredentialPolicyType
-
beginResetMethod
public CredentialsResetMethodType beginResetMethod()
- Overrides:
beginResetMethodin classCredentialPolicyType
-
propagationUserControl
public PasswordCredentialsPolicyType propagationUserControl(CredentialsPropagationUserControlType value)
- Overrides:
propagationUserControlin classCredentialPolicyType
-
minOccurs
public PasswordCredentialsPolicyType minOccurs(String value)
- Overrides:
minOccursin classCredentialPolicyType
-
maxOccurs
public PasswordCredentialsPolicyType maxOccurs(String value)
- Overrides:
maxOccursin classCredentialPolicyType
-
maxAge
public PasswordCredentialsPolicyType maxAge(Duration value)
- Overrides:
maxAgein classCredentialPolicyType
-
minAge
public PasswordCredentialsPolicyType minAge(Duration value)
- Overrides:
minAgein classCredentialPolicyType
-
warningBeforeExpirationDuration
public PasswordCredentialsPolicyType warningBeforeExpirationDuration(Duration value)
- Overrides:
warningBeforeExpirationDurationin classCredentialPolicyType
-
lockoutMaxFailedAttempts
public PasswordCredentialsPolicyType lockoutMaxFailedAttempts(Integer value)
- Overrides:
lockoutMaxFailedAttemptsin classCredentialPolicyType
-
lockoutFailedAttemptsDuration
public PasswordCredentialsPolicyType lockoutFailedAttemptsDuration(Duration value)
- Overrides:
lockoutFailedAttemptsDurationin classCredentialPolicyType
-
lockoutDuration
public PasswordCredentialsPolicyType lockoutDuration(Duration value)
- Overrides:
lockoutDurationin classCredentialPolicyType
-
valuePolicyRef
public PasswordCredentialsPolicyType valuePolicyRef(ObjectReferenceType value)
- Overrides:
valuePolicyRefin classCredentialPolicyType
-
valuePolicyRef
public PasswordCredentialsPolicyType valuePolicyRef(String oid, QName type)
- Overrides:
valuePolicyRefin classCredentialPolicyType
-
valuePolicyRef
public PasswordCredentialsPolicyType valuePolicyRef(String oid, QName type, QName relation)
- Overrides:
valuePolicyRefin classCredentialPolicyType
-
beginValuePolicyRef
public ObjectReferenceType beginValuePolicyRef()
- Overrides:
beginValuePolicyRefin classCredentialPolicyType
-
historyLength
public PasswordCredentialsPolicyType historyLength(Integer value)
- Overrides:
historyLengthin classCredentialPolicyType
-
historyStorageMethod
public PasswordCredentialsPolicyType historyStorageMethod(CredentialsStorageMethodType value)
- Overrides:
historyStorageMethodin classCredentialPolicyType
-
beginHistoryStorageMethod
public CredentialsStorageMethodType beginHistoryStorageMethod()
- Overrides:
beginHistoryStorageMethodin classCredentialPolicyType
-
historyAllowExistingPasswordReuse
public PasswordCredentialsPolicyType historyAllowExistingPasswordReuse(Boolean value)
- Overrides:
historyAllowExistingPasswordReusein classCredentialPolicyType
-
clone
public PasswordCredentialsPolicyType clone()
- Overrides:
clonein classCredentialPolicyType
-
-