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, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class CredentialsType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}PasswordType" minOccurs="0"/>
         <element name="allowedIdmAdminGuiAccess" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.Boolean allowedIdmAdminGuiAccess
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_ALLOWED_IDM_ADMIN_GUI_ACCESS
           
static javax.xml.namespace.QName F_PASSWORD
           
protected  PasswordType password
           
 
Constructor Summary
CredentialsType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 PasswordType getPassword()
          Gets the value of the password property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 java.lang.Boolean isAllowedIdmAdminGuiAccess()
          Gets the value of the allowedIdmAdminGuiAccess property.
 void setAllowedIdmAdminGuiAccess(java.lang.Boolean value)
          Sets the value of the allowedIdmAdminGuiAccess property.
 void setPassword(PasswordType 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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

password

protected PasswordType password

allowedIdmAdminGuiAccess

protected java.lang.Boolean allowedIdmAdminGuiAccess

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_PASSWORD

public static final javax.xml.namespace.QName F_PASSWORD

F_ALLOWED_IDM_ADMIN_GUI_ACCESS

public static final javax.xml.namespace.QName F_ALLOWED_IDM_ADMIN_GUI_ACCESS
Constructor Detail

CredentialsType

public CredentialsType()
Method Detail

getPassword

public PasswordType getPassword()
Gets the value of the password property.

Returns:
possible object is PasswordType

setPassword

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

Parameters:
value - allowed object is PasswordType

isAllowedIdmAdminGuiAccess

public java.lang.Boolean isAllowedIdmAdminGuiAccess()
Gets the value of the allowedIdmAdminGuiAccess property.

Returns:
possible object is Boolean

setAllowedIdmAdminGuiAccess

public void setAllowedIdmAdminGuiAccess(java.lang.Boolean value)
Sets the value of the allowedIdmAdminGuiAccess 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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.