org.eclipse.higgins.sts.api
Interface IClaim


public interface IClaim

Author:
mikemci

Method Summary
 void addValue(String strValue)
           
 IMetadata getMetadata()
          This can contain the information about claim (e.g., source, authority who claimed it, validity information if any, etc)
 Object getSerialized()
           
 IClaimType getType()
          Type of a claim (e.g., principal, group, role, email, age, etc)
 Iterator getValues()
          Value(s) of the claim.
 void setMetadata(IMetadata metadata)
           
 void setType(IClaimType claimType)
           
 

Method Detail

setType

void setType(IClaimType claimType)

setMetadata

void setMetadata(IMetadata metadata)

getType

IClaimType getType()
Type of a claim (e.g., principal, group, role, email, age, etc)


getValues

Iterator getValues()
Value(s) of the claim. It can be a string (eg name), or a complex object itself depending on the type (e.g., contact info claim can contain address, phone, etc which can be individual claims themselves)


addValue

void addValue(String strValue)

getMetadata

IMetadata getMetadata()
This can contain the information about claim (e.g., source, authority who claimed it, validity information if any, etc)


getSerialized

Object getSerialized()