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

public void setType(IClaimType claimType)

setMetadata

public void setMetadata(IMetadata metadata)

getType

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


getValues

public 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

public void addValue(String strValue)

getMetadata

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


getSerialized

public Object getSerialized()