org.openmdx.security.realm1.cci2
Interface Credential

All Known Subinterfaces:
ChallengeResponse, ChallengeResponse, Credential, Credential, Credential, Passcode, Passcode, Password, Password, Password, SendPasscode, SendPasscode
All Known Implementing Classes:
ChallengeResponse, Credential, Passcode, Password, SendPasscode

public interface Credential

Abstract class Credential


Method Summary
 Subject getSubject()
          Retrieves the value for the reference subject.
 boolean isLocked()
          Retrieves the value for the attribute locked.
<T extends ValidationResult>
T
request(AuthenticationContext context)
           
 void setLocked(boolean locked)
          Sets a new value for the attribute locked.
 void setSubject(Subject subject)
          Sets a new value for the reference subject.
<T extends ValidationResult>
T
validate(AuthenticationContext context, byte[] state, byte[] value)
           
 

Method Detail

isLocked

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

Returns:
The non-null value for attribute locked.

setLocked

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

Parameters:
locked - The non-null new value for attribute locked.

request

<T extends ValidationResult> T 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.

setSubject

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

Parameters:
subject - The non-null new value for this reference.

validate

<T extends ValidationResult> T 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.