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
| 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 |
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, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.