org.openmdx.security.realm1.cci
Interface Credential

All Superinterfaces:
RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
ChallengeResponse, Credential, Passcode, Password, SendPasscode
All Known Implementing Classes:
ChallengeResponseImpl, CredentialImpl, CredentialImpl, PasscodeImpl, PasswordImpl, SendPasscodeImpl

public interface Credential
extends RefObject_1_0


Method Summary
 Subject getSubject()
          Retrieves the value for the reference subject.
 boolean isLocked()
          Retrieves the value for the attribute locked.
 ValidationResult request(AuthenticationContext context)
           
 ValidationResult request(CredentialRequestParams params)
           
 void setLocked(boolean newValue)
          Sets a new value for the attribute locked.
 void setSubject(Subject newValue)
          Sets a new value for the reference subject.
 ValidationResult validate(AuthenticationContext context, byte[] state, byte[] value)
           
 ValidationResult validate(CredentialValidateParams params)
           
 
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
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

isLocked

boolean isLocked()
Retrieves the value for the attribute locked.

Returns:
The non-null value for attribute locked.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setLocked

void setLocked(boolean newValue)
Sets a new value for the attribute locked.

Parameters:
newValue - The non-null new value for attribute locked.
Throws:
JmiException - If the value cannot be set for some reason.

request

ValidationResult request(CredentialRequestParams params)
                         throws RefException
Throws:
RefException

request

ValidationResult request(AuthenticationContext context)
                         throws RefException
Throws:
RefException

getSubject

Subject getSubject()
Retrieves the value for the reference subject.

Returns:
The non-null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setSubject

void setSubject(Subject newValue)
Sets a new value for the reference subject.

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

validate

ValidationResult validate(CredentialValidateParams params)
                          throws RefException
Throws:
RefException

validate

ValidationResult validate(AuthenticationContext context,
                          byte[] state,
                          byte[] value)
                          throws RefException
Throws:
RefException


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