org.openmdx.security.realm1.jmi1
Interface Credential

All Superinterfaces:
Credential, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
ChallengeResponse, Credential, Passcode, Password, SendPasscode

public interface Credential
extends Credential, RefObject_1_0

Abstract class Credential


Method Summary
 Subject getSubject()
          Retrieves the value for the reference subject.
 ValidationResult request(AuthenticationContext context)
           
 ValidationResult request(CredentialRequestParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 void setSubject(Subject subject)
          Sets a new value for the reference subject.
 ValidationResult validate(AuthenticationContext context, byte[] state, byte[] value)
           
 ValidationResult validate(CredentialValidateParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 
Methods inherited from interface org.openmdx.security.realm1.cci2.Credential
isLocked, setLocked
 
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

request

ValidationResult request(CredentialRequestParams params)
                         throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

request

ValidationResult request(AuthenticationContext context)
Specified by:
request in interface Credential

getSubject

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

Specified by:
getSubject in interface Credential
Returns:
The non-null value for this reference.

setSubject

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

Specified by:
setSubject in interface Credential
Parameters:
subject - The non-null new value for this reference.

validate

ValidationResult validate(CredentialValidateParams params)
                          throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

validate

ValidationResult validate(AuthenticationContext context,
                          byte[] state,
                          byte[] value)
Specified by:
validate in interface Credential


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