Class CredentialsType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class CredentialsType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
This is a container type for various credentials types: passwords, public keys, one-time password scheme identifiers, etc. However, we expect that password will be the most widely used credential type. The reason to "formalize" this structure is the ability to synchronize credentials. If the password would be just an ordinary attribute, we cannot automatically synchronize user and account passwords. Similarly as other credential types. Note: marking password with a special attribute type will not be enough. There may be numerous passwords with various meanings, we need to distinguish the "primary" one to synchronize. We also need to store user password somewhere.- 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_NONCE
static ItemName
F_PASSWORD
static ItemName
F_SECURITY_QUESTIONS
static Producer<CredentialsType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CredentialsType()
CredentialsType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NonceType
beginNonce()
PasswordType
beginPassword()
SecurityQuestionsCredentialsType
beginSecurityQuestions()
CredentialsType
clone()
<X> X
end()
boolean
equals(Object other)
NonceType
getNonce()
PasswordType
getPassword()
SecurityQuestionsCredentialsType
getSecurityQuestions()
CredentialsType
id(Long value)
CredentialsType
nonce(NonceType value)
CredentialsType
password(PasswordType value)
CredentialsType
securityQuestions(SecurityQuestionsCredentialsType value)
void
setNonce(NonceType value)
void
setPassword(PasswordType value)
void
setSecurityQuestions(SecurityQuestionsCredentialsType value)
-
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
-
-
-
-
Constructor Detail
-
CredentialsType
public CredentialsType()
-
CredentialsType
@Deprecated public CredentialsType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getPassword
public PasswordType getPassword()
-
setPassword
public void setPassword(PasswordType value)
-
getNonce
public NonceType getNonce()
-
setNonce
public void setNonce(NonceType value)
-
getSecurityQuestions
public SecurityQuestionsCredentialsType getSecurityQuestions()
-
setSecurityQuestions
public void setSecurityQuestions(SecurityQuestionsCredentialsType value)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public CredentialsType id(Long value)
-
password
public CredentialsType password(PasswordType value)
-
beginPassword
public PasswordType beginPassword()
-
nonce
public CredentialsType nonce(NonceType value)
-
beginNonce
public NonceType beginNonce()
-
securityQuestions
public CredentialsType securityQuestions(SecurityQuestionsCredentialsType value)
-
beginSecurityQuestions
public SecurityQuestionsCredentialsType beginSecurityQuestions()
-
end
public <X> X end()
-
clone
public CredentialsType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-