org.opensaml.xml.security.criteria
Class UsageCriteria

java.lang.Object
  extended by org.opensaml.xml.security.criteria.UsageCriteria
All Implemented Interfaces:
Criteria

public final class UsageCriteria
extends Object
implements Criteria

An implementation of Criteria which specifies criteria pertaining usage of the resolved credential.


Constructor Summary
UsageCriteria(UsageType usage)
          Constructor.
 
Method Summary
 UsageType getUsage()
          Get the key usage criteria.
 void setUsage(UsageType usage)
          Set the key usage criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageCriteria

public UsageCriteria(UsageType usage)
Constructor.

Parameters:
usage - the usage for which a credential is intended
Method Detail

getUsage

public UsageType getUsage()
Get the key usage criteria.

Returns:
Returns the usage.

setUsage

public void setUsage(UsageType usage)
Set the key usage criteria.

Parameters:
usage - The usage to set.


Copyright © 2006-2011 Internet2. All Rights Reserved.