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
,Serializable
,Cloneable
public class PasswordCredentialsPolicyType extends CredentialPolicyType implements Serializable, Cloneable, Containerable
Structure that specifies policy for password management. It is in fact only a simple reference to a password policy.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_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_PROPAGATION_USER_CONTROL, F_RESET_METHOD, F_STORAGE_METHOD, F_VALUE_POLICY_REF, F_WARNING_BEFORE_EXPIRATION_DURATION
-
-
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
getHistoryLength, getHistoryStorageMethod, getLockoutDuration, getLockoutFailedAttemptsDuration, getLockoutMaxFailedAttempts, getMaxAge, getMaxOccurs, getMinAge, getMinOccurs, getPropagationUserControl, getResetMethod, getStorageMethod, getValuePolicyRef, getWarningBeforeExpirationDuration, setHistoryLength, setHistoryStorageMethod, setLockoutDuration, setLockoutFailedAttemptsDuration, setLockoutMaxFailedAttempts, setMaxAge, setMaxOccurs, setMinAge, setMinOccurs, setPropagationUserControl, setResetMethod, setStorageMethod, setValuePolicyRef, setWarningBeforeExpirationDuration
-
-
-
-
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)
-
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
-
clone
public PasswordCredentialsPolicyType clone()
- Overrides:
clone
in classCredentialPolicyType
-
-