org.openmdx.security.authentication1.jdo2
Class Password

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.openmdx.security.authentication1.jdo2.Credential
              extended by org.openmdx.security.authentication1.jdo2.Password
All Implemented Interfaces:
Serializable, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable, Password, Credential

public class Password
extends Credential
implements Password

Class Password

See Also:
Serialized Form

Nested Class Summary
static class Password.Slice
           
 
Nested classes/interfaces inherited from class org.openmdx.security.authentication1.jdo2.Credential
Credential.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.openmdx.security.authentication1.cci2.Credential
Credential.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::openmdx::security::authentication1::Password
 
Fields inherited from class org.openmdx.security.authentication1.jdo2.Credential
BASE_CLASS
 
Constructor Summary
Password()
           
 
Method Summary
<T extends org.openmdx.base.cci2.Void>
T
change(byte[] oldPassword, byte[] password)
           
 String getPassword()
          Retrieves the valuefor the attribute password.
static Credential.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setPassword(String password)
          Sets a new value for the attribute password.
 
Methods inherited from class org.openmdx.security.authentication1.jdo2.Credential
getCreatedAt, getCreatedBy, getId, getIdentity, getModifiedAt, getModifiedBy, getResetCredential, getSubject, getView, isLocked, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, request, reset, setLocked, setSegment, setSegment, setSubject, validate
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
openmdxjdoGetIdentity, openmdxjdoGetIdentity, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmdx.security.authentication1.cci2.Credential
getId, getResetCredential, reset, setSegment, setSegment
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface org.openmdx.security.realm1.cci2.Credential
getSubject, isLocked, request, setLocked, setSubject, validate
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::openmdx::security::authentication1::Password

Constructor Detail

Password

public Password()
Method Detail

change

public <T extends org.openmdx.base.cci2.Void> T change(byte[] oldPassword,
                                                       byte[] password)
                                            throws RefException
Specified by:
change in interface Password
Throws:
RefException

getPassword

public final String getPassword()
Description copied from interface: Password
Retrieves the valuefor the attribute password.

Returns:
The possibly null value for attribute password.

setPassword

public void setPassword(String password)
Sets a new value for the attribute password.

Parameters:
password - The possibly null new value for attribute password.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Credential

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Credential

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class Credential

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Credential
Returns:
the model class
See Also:
Password.CLASS

newIdentity

public static Credential.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                              boolean idIsPersistent,
                                              String id)


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.