org.opensaml.security
Class SAMLMDCredentialContext

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

public class SAMLMDCredentialContext
extends Object
implements CredentialContext

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


Field Summary
private  List<EncryptionMethod> encMethods
          Encryption methods associated with the credential.
private  KeyDescriptor keyDescriptor
          Key descriptor which contained the KeyInfo used.
private  RoleDescriptor role
          Role in which credential was resolved.
 
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
 

Field Detail

keyDescriptor

private KeyDescriptor keyDescriptor
Key descriptor which contained the KeyInfo used.


role

private RoleDescriptor role
Role in which credential was resolved.


encMethods

private List<EncryptionMethod> encMethods
Encryption methods associated with the credential.

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