com.evolveum.midpoint.xml.ns._public.common.common_1
Class CredentialsType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.CredentialsType
All Implemented Interfaces:
java.io.Serializable

public class CredentialsType
extends java.lang.Object
implements java.io.Serializable

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>
 

See Also:
Serialized Form

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

password

protected CredentialsType.Password password

allowedIdmGuiAccess

protected java.lang.Boolean allowedIdmGuiAccess
Constructor Detail

CredentialsType

public CredentialsType()
Method Detail

getPassword

public CredentialsType.Password getPassword()
Gets the value of the password property.

Returns:
possible object is CredentialsType.Password

setPassword

public void setPassword(CredentialsType.Password value)
Sets the value of the password property.

Parameters:
value - allowed object is CredentialsType.Password

isAllowedIdmGuiAccess

public java.lang.Boolean isAllowedIdmGuiAccess()
Gets the value of the allowedIdmGuiAccess property.

Returns:
possible object is Boolean

setAllowedIdmGuiAccess

public void setAllowedIdmGuiAccess(java.lang.Boolean value)
Sets the value of the allowedIdmGuiAccess property.

Parameters:
value - allowed object is Boolean

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class java.lang.Object


Copyright © 2011 evolveum. All Rights Reserved.