org.eclipse.higgins.icard
Interface IPolicy

All Known Subinterfaces:
ICardSpacePolicy, IRPPolicy, IRSSPPolicy, ISSFFPolicy

public interface IPolicy


Method Summary
 Class[] getICardTypes()
          Returns an array of ICard interfaces that could satisfy this policy.
 List getRequiredClaims()
          This parameter specifies the types of claims that must be supplied by the identity.
 String[] getSummary()
          Gets short description of each claim in this policy;
 String getType()
          Represents the type of this policy (e.g.
 boolean isSatisfiedBy(ICard icard)
          Checks whether this policy could be satisfied with given icard.
 

Method Detail

getType

public String getType()
Represents the type of this policy (e.g. "uri", "cardspace", "idemix", "openid", etc.)


getICardTypes

public Class[] getICardTypes()
Returns an array of ICard interfaces that could satisfy this policy.


getSummary

public String[] getSummary()
Gets short description of each claim in this policy;


getRequiredClaims

public List getRequiredClaims()
This parameter specifies the types of claims that must be supplied by the identity. All claim's types are returned as String.

See Also:
IClaimType

isSatisfiedBy

public boolean isSatisfiedBy(ICard icard)
Checks whether this policy could be satisfied with given icard.