org.openmdx.security.authentication1.cci2
Interface Credential

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, Credential, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
ChallengeResponse, ChallengeResponse, Credential, Passcode, Passcode, Password, Password, Password, SendPasscode, SendPasscode
All Known Implementing Classes:
ChallengeResponse, Passcode, Password, SendPasscode

public interface Credential
extends org.openmdx.base.cci2.BasicObject, Credential

Abstract class Credential


Nested Class Summary
static interface Credential.Identity
          Object Identity
 
Method Summary
 String getId()
          Retrieves the value for the attribute id.
<T extends Credential>
List<T>
getResetCredential()
          Retrieves the Collection of objects referenced by resetCredential.
<T extends org.openmdx.base.cci2.Void>
T
reset(List<byte[]> resetValue, byte[] value)
           
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:openmdx:security:authentication1:SegmentHostsCredential.
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface org.openmdx.security.realm1.cci2.Credential
getSubject, isLocked, request, setLocked, setSubject, validate
 

Method Detail

getId

String getId()
Retrieves the value for the attribute id.

Returns:
The non-null value for attribute id.

reset

<T extends org.openmdx.base.cci2.Void> T reset(List<byte[]> resetValue,
                                               byte[] value)
                                           throws RefException
Throws:
RefException

getResetCredential

<T extends Credential> List<T> getResetCredential()
Retrieves the Collection of objects referenced by resetCredential.

Returns:
The Collection of referenced objects.

setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

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

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:openmdx:security:authentication1:SegmentHostsCredential.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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