Package org.opensaml.saml.security.impl
Class SAMLMDCredentialContext
- java.lang.Object
-
- org.opensaml.saml.security.impl.SAMLMDCredentialContext
-
- All Implemented Interfaces:
org.opensaml.security.credential.CredentialContext
public class SAMLMDCredentialContext extends Object implements org.opensaml.security.credential.CredentialContext
A credential context for credentials resolved from aKeyInfothat was found in SAML 2 metadata.
-
-
Field Summary
Fields Modifier and Type Field Description private List<org.opensaml.saml.saml2.metadata.EncryptionMethod>encMethodsEncryption methods associated with the credential.private org.opensaml.saml.saml2.metadata.KeyDescriptorkeyDescriptorKey descriptor which contained the KeyInfo used.private org.opensaml.saml.saml2.metadata.RoleDescriptorroleRole in which credential was resolved.
-
Constructor Summary
Constructors Constructor Description SAMLMDCredentialContext(org.opensaml.saml.saml2.metadata.KeyDescriptor descriptor)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.opensaml.saml.saml2.metadata.EncryptionMethod>getEncryptionMethods()Return the list ofEncryptionMethod's associated with credential context.org.opensaml.saml.saml2.metadata.KeyDescriptorgetKeyDescriptor()Get the key descriptor context.org.opensaml.saml.saml2.metadata.RoleDescriptorgetRoleDescriptor()Get the role descriptor context.
-
-
-
Field Detail
-
keyDescriptor
private org.opensaml.saml.saml2.metadata.KeyDescriptor keyDescriptor
Key descriptor which contained the KeyInfo used.
-
role
private org.opensaml.saml.saml2.metadata.RoleDescriptor role
Role in which credential was resolved.
-
encMethods
private List<org.opensaml.saml.saml2.metadata.EncryptionMethod> encMethods
Encryption methods associated with the credential.
-
-
Method Detail
-
getKeyDescriptor
public org.opensaml.saml.saml2.metadata.KeyDescriptor getKeyDescriptor()
Get the key descriptor context.- Returns:
- key descriptor
-
getEncryptionMethods
public List<org.opensaml.saml.saml2.metadata.EncryptionMethod> getEncryptionMethods()
Return the list ofEncryptionMethod's associated with credential context.- Returns:
- a list of SAML metadata encryption method associated with this context
-
getRoleDescriptor
public org.opensaml.saml.saml2.metadata.RoleDescriptor getRoleDescriptor()
Get the role descriptor context.- Returns:
- role descriptor
-
-