org.opensaml.security
Class SAMLMDCredentialContext

java.lang.Object
  extended by org.opensaml.security.SAMLMDCredentialContext
All Implemented Interfaces:
org.opensaml.xml.security.credential.CredentialContext

public class SAMLMDCredentialContext
extends Object
implements org.opensaml.xml.security.credential.CredentialContext

A credential context for credentials resolved from a KeyInfo that was found in SAML 2 metadata.


Constructor Summary
SAMLMDCredentialContext(KeyDescriptor descriptor)
          Constructor.
 
Method Summary
 List<EncryptionMethod> getEncryptionMethod()
          Return the list of EncryptionMethod's associated with credential context.
 KeyDescriptor getKeyDescriptor()
          Get the key descriptor context.
 RoleDescriptor getRoleDescriptor()
          Get the role descriptor context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLMDCredentialContext

public SAMLMDCredentialContext(KeyDescriptor descriptor)
Constructor.

Parameters:
descriptor - the KeyDescriptor context from which a credential was resolved
Method Detail

getKeyDescriptor

public KeyDescriptor getKeyDescriptor()
Get the key descriptor context.

Returns:
key descriptor

getEncryptionMethod

public List<EncryptionMethod> getEncryptionMethod()
Return the list of EncryptionMethod's associated with credential context.

Returns:
a list of SAML metadata encryption method associated with this context

getRoleDescriptor

public RoleDescriptor getRoleDescriptor()
Get the role descriptor context.

Returns:
role descriptor


Copyright © 2006-2010 Internet2. All Rights Reserved.