Class CredentialPolicyType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialPolicyType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
NonceCredentialsPolicyType
,PasswordCredentialsPolicyType
,SecurityQuestionsCredentialsPolicyType
public class CredentialPolicyType extends Object implements Serializable, Cloneable, Containerable
Structure that specifies common elements to all the credential policies. <p>Java class for CredentialPolicyType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="CredentialPolicyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="storageMethod" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialsStorageMethodType" minOccurs="0"/> <element name="resetMethod" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialsResetMethodType" minOccurs="0"/> <element name="propagationUserControl" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialsPropagationUserControlType" minOccurs="0"/> <element name="minOccurs" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="maxOccurs" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="maxAge" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="minAge" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="warningBeforeExpirationDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="lockoutMaxFailedAttempts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="lockoutFailedAttemptsDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="lockoutDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="valuePolicyRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="historyLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="historyStorageMethod" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialsStorageMethodType" minOccurs="0"/> <element name="historyAllowExistingPasswordReuse" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_HISTORY_ALLOW_EXISTING_PASSWORD_REUSE
static ItemName
F_HISTORY_LENGTH
static ItemName
F_HISTORY_STORAGE_METHOD
static ItemName
F_LOCKOUT_DURATION
static ItemName
F_LOCKOUT_FAILED_ATTEMPTS_DURATION
static ItemName
F_LOCKOUT_MAX_FAILED_ATTEMPTS
static ItemName
F_MAX_AGE
static ItemName
F_MAX_OCCURS
static ItemName
F_MIN_AGE
static ItemName
F_MIN_OCCURS
static ItemName
F_NAME
static ItemName
F_PROPAGATION_USER_CONTROL
static ItemName
F_RESET_METHOD
static ItemName
F_STORAGE_METHOD
static ItemName
F_VALUE_POLICY_REF
static ItemName
F_WARNING_BEFORE_EXPIRATION_DURATION
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CredentialPolicyType()
CredentialPolicyType(PrismContext prismContext)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_STORAGE_METHOD
public static final ItemName F_STORAGE_METHOD
-
F_RESET_METHOD
public static final ItemName F_RESET_METHOD
-
F_PROPAGATION_USER_CONTROL
public static final ItemName F_PROPAGATION_USER_CONTROL
-
F_MIN_OCCURS
public static final ItemName F_MIN_OCCURS
-
F_MAX_OCCURS
public static final ItemName F_MAX_OCCURS
-
F_MAX_AGE
public static final ItemName F_MAX_AGE
-
F_MIN_AGE
public static final ItemName F_MIN_AGE
-
F_WARNING_BEFORE_EXPIRATION_DURATION
public static final ItemName F_WARNING_BEFORE_EXPIRATION_DURATION
-
F_LOCKOUT_MAX_FAILED_ATTEMPTS
public static final ItemName F_LOCKOUT_MAX_FAILED_ATTEMPTS
-
F_LOCKOUT_FAILED_ATTEMPTS_DURATION
public static final ItemName F_LOCKOUT_FAILED_ATTEMPTS_DURATION
-
F_LOCKOUT_DURATION
public static final ItemName F_LOCKOUT_DURATION
-
F_VALUE_POLICY_REF
public static final ItemName F_VALUE_POLICY_REF
-
F_HISTORY_LENGTH
public static final ItemName F_HISTORY_LENGTH
-
F_HISTORY_STORAGE_METHOD
public static final ItemName F_HISTORY_STORAGE_METHOD
-
F_HISTORY_ALLOW_EXISTING_PASSWORD_REUSE
public static final ItemName F_HISTORY_ALLOW_EXISTING_PASSWORD_REUSE
-
-
Constructor Detail
-
CredentialPolicyType
public CredentialPolicyType()
-
CredentialPolicyType
public CredentialPolicyType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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
-
end
public <X> X end()
-
getName
public String getName()
-
setName
public void setName(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getStorageMethod
public CredentialsStorageMethodType getStorageMethod()
-
setStorageMethod
public void setStorageMethod(CredentialsStorageMethodType value)
-
getResetMethod
public CredentialsResetMethodType getResetMethod()
-
setResetMethod
public void setResetMethod(CredentialsResetMethodType value)
-
getPropagationUserControl
public CredentialsPropagationUserControlType getPropagationUserControl()
-
setPropagationUserControl
public void setPropagationUserControl(CredentialsPropagationUserControlType value)
-
getMinOccurs
public String getMinOccurs()
-
setMinOccurs
public void setMinOccurs(String value)
-
getMaxOccurs
public String getMaxOccurs()
-
setMaxOccurs
public void setMaxOccurs(String value)
-
getMaxAge
public Duration getMaxAge()
-
setMaxAge
public void setMaxAge(Duration value)
-
getMinAge
public Duration getMinAge()
-
setMinAge
public void setMinAge(Duration value)
-
getWarningBeforeExpirationDuration
public Duration getWarningBeforeExpirationDuration()
-
setWarningBeforeExpirationDuration
public void setWarningBeforeExpirationDuration(Duration value)
-
getLockoutMaxFailedAttempts
public Integer getLockoutMaxFailedAttempts()
-
setLockoutMaxFailedAttempts
public void setLockoutMaxFailedAttempts(Integer value)
-
getLockoutFailedAttemptsDuration
public Duration getLockoutFailedAttemptsDuration()
-
setLockoutFailedAttemptsDuration
public void setLockoutFailedAttemptsDuration(Duration value)
-
getLockoutDuration
public Duration getLockoutDuration()
-
setLockoutDuration
public void setLockoutDuration(Duration value)
-
getValuePolicyRef
public ObjectReferenceType getValuePolicyRef()
-
setValuePolicyRef
public void setValuePolicyRef(ObjectReferenceType value)
-
getHistoryLength
public Integer getHistoryLength()
-
setHistoryLength
public void setHistoryLength(Integer value)
-
getHistoryStorageMethod
public CredentialsStorageMethodType getHistoryStorageMethod()
-
setHistoryStorageMethod
public void setHistoryStorageMethod(CredentialsStorageMethodType value)
-
isHistoryAllowExistingPasswordReuse
public Boolean isHistoryAllowExistingPasswordReuse()
-
setHistoryAllowExistingPasswordReuse
public void setHistoryAllowExistingPasswordReuse(Boolean value)
-
name
public CredentialPolicyType name(String value)
-
description
public CredentialPolicyType description(String value)
-
documentation
public CredentialPolicyType documentation(String value)
-
storageMethod
public CredentialPolicyType storageMethod(CredentialsStorageMethodType value)
-
beginStorageMethod
public CredentialsStorageMethodType beginStorageMethod()
-
resetMethod
public CredentialPolicyType resetMethod(CredentialsResetMethodType value)
-
beginResetMethod
public CredentialsResetMethodType beginResetMethod()
-
propagationUserControl
public CredentialPolicyType propagationUserControl(CredentialsPropagationUserControlType value)
-
minOccurs
public CredentialPolicyType minOccurs(String value)
-
maxOccurs
public CredentialPolicyType maxOccurs(String value)
-
maxAge
public CredentialPolicyType maxAge(Duration value)
-
minAge
public CredentialPolicyType minAge(Duration value)
-
warningBeforeExpirationDuration
public CredentialPolicyType warningBeforeExpirationDuration(Duration value)
-
lockoutMaxFailedAttempts
public CredentialPolicyType lockoutMaxFailedAttempts(Integer value)
-
lockoutFailedAttemptsDuration
public CredentialPolicyType lockoutFailedAttemptsDuration(Duration value)
-
lockoutDuration
public CredentialPolicyType lockoutDuration(Duration value)
-
valuePolicyRef
public CredentialPolicyType valuePolicyRef(ObjectReferenceType value)
-
valuePolicyRef
public CredentialPolicyType valuePolicyRef(String oid, QName type)
-
valuePolicyRef
public CredentialPolicyType valuePolicyRef(String oid, QName type, QName relation)
-
beginValuePolicyRef
public ObjectReferenceType beginValuePolicyRef()
-
historyLength
public CredentialPolicyType historyLength(Integer value)
-
historyStorageMethod
public CredentialPolicyType historyStorageMethod(CredentialsStorageMethodType value)
-
beginHistoryStorageMethod
public CredentialsStorageMethodType beginHistoryStorageMethod()
-
historyAllowExistingPasswordReuse
public CredentialPolicyType historyAllowExistingPasswordReuse(Boolean value)
-
clone
public CredentialPolicyType clone()
-
-