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

ValidationResult request(AuthenticationContext context)

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

ValidationResult validate(AuthenticationContext context,
                          byte[] state,
                          byte[] value)


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