org.opensaml.security
Class MetadataCredentialResolver.MetadataCacheKey

java.lang.Object
  extended by org.opensaml.security.MetadataCredentialResolver.MetadataCacheKey
Enclosing class:
MetadataCredentialResolver

protected class MetadataCredentialResolver.MetadataCacheKey
extends Object

A class which serves as the key into the cache of credentials previously resolved.


Field Summary
private  String id
          Entity ID of credential owner.
private  String protocol
          Protocol over which the entity is operating (may be null).
private  QName role
          Role in which the entity is operating.
private  UsageType usage
          Intended usage of the resolved credentials.
 
Constructor Summary
protected MetadataCredentialResolver.MetadataCacheKey(String entityID, QName entityRole, String entityProtocol, UsageType entityUsage)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private String id
Entity ID of credential owner.


role

private QName role
Role in which the entity is operating.


protocol

private String protocol
Protocol over which the entity is operating (may be null).


usage

private UsageType usage
Intended usage of the resolved credentials.

Constructor Detail

MetadataCredentialResolver.MetadataCacheKey

protected MetadataCredentialResolver.MetadataCacheKey(String entityID,
                                                      QName entityRole,
                                                      String entityProtocol,
                                                      UsageType entityUsage)
Constructor.

Parameters:
entityID - entity ID of the credential owner
entityRole - role in which the entity is operating
entityProtocol - protocol over which the entity is operating (may be null)
entityUsage - usage of the resolved credentials
Method Detail

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 1999-2013. All Rights Reserved.