Class PasswordCredentialsPolicyType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialPolicyType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordCredentialsPolicyType
-
- All Implemented Interfaces:
Containerable,Freezable,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding,DebugDumpable,Serializable,Cloneable
public class PasswordCredentialsPolicyType extends CredentialPolicyType
Structure that specifies policy for password management. It is in fact only a simple reference to a password policy. 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).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_PASSWORD_CHANGE_SECURITYstatic Producer<PasswordCredentialsPolicyType>FACTORY-
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 context)Deprecated.
-
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 com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_PASSWORD_CHANGE_SECURITY
public static final ItemName F_PASSWORD_CHANGE_SECURITY
-
FACTORY
public static final Producer<PasswordCredentialsPolicyType> FACTORY
-
-
Constructor Detail
-
PasswordCredentialsPolicyType
public PasswordCredentialsPolicyType()
-
PasswordCredentialsPolicyType
@Deprecated public PasswordCredentialsPolicyType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getPasswordChangeSecurity
public PasswordChangeSecurityType getPasswordChangeSecurity()
-
setPasswordChangeSecurity
public void setPasswordChangeSecurity(PasswordChangeSecurityType value)
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classCredentialPolicyType
-
id
public PasswordCredentialsPolicyType id(Long value)
- Overrides:
idin classCredentialPolicyType
-
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
-
end
public <X> X end()
- Overrides:
endin classCredentialPolicyType
-
clone
public PasswordCredentialsPolicyType clone()
- Overrides:
clonein classCredentialPolicyType
-
-