|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.xml.ns._public.common.common_1.CredentialsType
public class CredentialsType
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 and that's actually also the only supported 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. This is not perfect. It may change in the future. TODO: support for "old password", e.g. some resource need it to change password.
Java class for CredentialsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CredentialsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="password" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="protectedString" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ProtectedStringType"/> <element name="failedLogins" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="lastFailedLoginTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="allowedIdmGuiAccess" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Nested Class Summary | |
---|---|
static class |
CredentialsType.Password
Java class for anonymous complex type. |
Field Summary | |
---|---|
protected java.lang.Boolean |
allowedIdmGuiAccess
|
protected CredentialsType.Password |
password
|
Constructor Summary | |
---|---|
CredentialsType()
|
Method Summary | |
---|---|
CredentialsType.Password |
getPassword()
Gets the value of the password property. |
java.lang.Boolean |
isAllowedIdmGuiAccess()
Gets the value of the allowedIdmGuiAccess property. |
void |
setAllowedIdmGuiAccess(java.lang.Boolean value)
Sets the value of the allowedIdmGuiAccess property. |
void |
setPassword(CredentialsType.Password value)
Sets the value of the password property. |
java.lang.String |
toString()
Generates a String representation of the contents of this type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected CredentialsType.Password password
protected java.lang.Boolean allowedIdmGuiAccess
Constructor Detail |
---|
public CredentialsType()
Method Detail |
---|
public CredentialsType.Password getPassword()
CredentialsType.Password
public void setPassword(CredentialsType.Password value)
value
- allowed object is
CredentialsType.Password
public java.lang.Boolean isAllowedIdmGuiAccess()
Boolean
public void setAllowedIdmGuiAccess(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |