org.openmdx.security.realm1.jmi1
Interface Credential

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

public interface Credential
extends Credential, RefObject

Abstract class Credential


Method Summary
 Subject getSubject()
          Retrieves the value for the reference subject.
<T extends ValidationResult>
T
request(CredentialRequestParams params)
           
 void setSubject(Subject subject)
          Sets a new value for the reference subject.
<T extends ValidationResult>
T
validate(CredentialValidateParams params)
           
 
Methods inherited from interface org.openmdx.security.realm1.cci2.Credential
isLocked, request, setLocked, validate
 
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

<T extends ValidationResult> T request(CredentialRequestParams params)
                                   throws RefException
Throws:
RefException

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

<T extends ValidationResult> T validate(CredentialValidateParams params)
                                    throws RefException
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.