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 QName
COMPLEX_TYPE
static ItemName
F_PASSWORD_CHANGE_SECURITY
static 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:
equals
in classCredentialPolicyType
-
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
-
end
public <X> X end()
- Overrides:
end
in classCredentialPolicyType
-
clone
public PasswordCredentialsPolicyType clone()
- Overrides:
clone
in classCredentialPolicyType
-
-