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.


Field Summary
private  UsageType credUsage
          Key usage type of resolved credentials.
 
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
 

Field Detail

credUsage

private UsageType credUsage
Key usage type of resolved credentials.

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 © 1999-2013. All Rights Reserved.