Class PasswordCredential
- java.lang.Object
- 
- es.bsc.dataclay.util.MgrObject<CredentialID>
- 
- es.bsc.dataclay.util.management.accountmgr.PasswordCredential
 
 
- 
- All Implemented Interfaces:
- DataClaySerializable
 
 public final class PasswordCredential extends MgrObject<CredentialID> implements DataClaySerializable This class represents a system PasswordCredential for the system Accounts.- Version:
- 0.1
 
- 
- 
Constructor SummaryConstructors Constructor Description PasswordCredential()PasswordCredential constructorPasswordCredential(String newpassword)PasswordCredential constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(DataClayByteBuffer dcBuffer, Map<MetaClassID,byte[]> ifaceBitMaps, DataClayObjectMetaData metadata, Map<Integer,Object> curDeserializedJavaObjs)Deserializes the object from the buffer provided using the interface represented in the bitmap specified.booleanequals(Object t)StringgetPassword()Get password of the PasswordCredentialinthashCode()voidserialize(DataClayByteBuffer dcBuffer, boolean ignoreUserTypes, Map<MetaClassID,byte[]> ifaceBitMaps, IdentityHashMap<Object,Integer> curSerializedObjs, ListIterator<DataClayObject> pendingObjs, ReferenceCounting referenceCounting)Serializes the object into the buffer provided using the interface represented in the bitmap specified.voidsetPassword(String newpassword)Sets a new password for the PasswordCredentialStringtoString()- 
Methods inherited from class es.bsc.dataclay.util.MgrObjectgetDataClayID, setDataClayID
 
- 
 
- 
- 
- 
Constructor Detail- 
PasswordCredentialpublic PasswordCredential() PasswordCredential constructor
 - 
PasswordCredentialpublic PasswordCredential(String newpassword) PasswordCredential constructor- Parameters:
- newpassword- Password of the credential
 
 
- 
 - 
Method Detail- 
setPasswordpublic void setPassword(String newpassword) Sets a new password for the PasswordCredential- Parameters:
- newpassword- New password to be set
 
 - 
getPasswordpublic String getPassword() Get password of the PasswordCredential- Returns:
- Password of the credential
 
 - 
serializepublic void serialize(DataClayByteBuffer dcBuffer, boolean ignoreUserTypes, Map<MetaClassID,byte[]> ifaceBitMaps, IdentityHashMap<Object,Integer> curSerializedObjs, ListIterator<DataClayObject> pendingObjs, ReferenceCounting referenceCounting) Description copied from interface:DataClaySerializableSerializes the object into the buffer provided using the interface represented in the bitmap specified.- Specified by:
- serializein interface- DataClaySerializable
- Parameters:
- dcBuffer- Buffer in which to serialize the object
- ignoreUserTypes- Indicates if user types found during serialization must be ignored or not (for instance, non recursive make persistent)
- ifaceBitMaps- Map of bitmaps representing the interfaces to use
- curSerializedObjs- Current serialized objects Object -> OID tag. This structure must be different during each serialization since OID tags are not shared.
- pendingObjs- Pending objs.
- referenceCounting- Reference counting from this object.
 
 - 
deserializepublic void deserialize(DataClayByteBuffer dcBuffer, Map<MetaClassID,byte[]> ifaceBitMaps, DataClayObjectMetaData metadata, Map<Integer,Object> curDeserializedJavaObjs) Description copied from interface:DataClaySerializableDeserializes the object from the buffer provided using the interface represented in the bitmap specified.- Specified by:
- deserializein interface- DataClaySerializable
- Parameters:
- dcBuffer- Buffer from which to deserialize the object
- ifaceBitMaps- Map of bitmaps representing the interfaces to use
- metadata- Useful metadata of the object for execution
- curDeserializedJavaObjs- Currently deserialized Java objects
 
 
- 
 
-