org.openmdx.security.realm1.cci
Class CredentialImpl
java.lang.Object
org.openmdx.base.accessor.jmi.spi.RefObject_1
org.openmdx.security.realm1.cci.CredentialImpl
- All Implemented Interfaces:
- Serializable, javax.jdo.spi.PersistenceCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, Credential
public class CredentialImpl
- extends RefObject_1
- implements Credential
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier |
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1 |
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
CredentialImpl
public CredentialImpl(Object_1_0 object,
RefClass refClass)
isLocked
public boolean isLocked()
- Description copied from interface:
Credential
- Retrieves the value for the attribute
locked.
- Specified by:
isLocked in interface Credential
- Returns:
- The non-null value for attribute
locked.
isLocked
protected boolean isLocked(int index)
setLocked
public void setLocked(boolean newValue)
- Description copied from interface:
Credential
- Sets a new value for the attribute
locked.
- Specified by:
setLocked in interface Credential
- Parameters:
newValue - The non-null new value for attribute locked.
setLocked
protected void setLocked(int index,
boolean newValue)
request
public ValidationResult request(CredentialRequestParams params)
throws RefException
- Specified by:
request in interface Credential
- Throws:
RefException
request
public ValidationResult request(AuthenticationContext context)
throws RefException
- Specified by:
request in interface Credential
- Throws:
RefException
getSubject
public Subject getSubject()
- Description copied from interface:
Credential
- Retrieves the value for the reference
subject.
- Specified by:
getSubject in interface Credential
- Returns:
- The non-null value for this reference.
setSubject
public void setSubject(Subject newValue)
- Description copied from interface:
Credential
- Sets a new value for the reference
subject.
- Specified by:
setSubject in interface Credential
- Parameters:
newValue - The non-null new value for this reference.
validate
public ValidationResult validate(CredentialValidateParams params)
throws RefException
- Specified by:
validate in interface Credential
- Throws:
RefException
validate
public ValidationResult validate(AuthenticationContext context,
byte[] state,
byte[] value)
throws RefException
- Specified by:
validate in interface Credential
- Throws:
RefException
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.