Package org.opensaml.saml.security.impl
Class SAMLMDCredentialContext
java.lang.Object
org.opensaml.saml.security.impl.SAMLMDCredentialContext
- All Implemented Interfaces:
CredentialContext
A credential context for credentials resolved from a
KeyInfo that was found in
SAML 2 metadata.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<EncryptionMethod>Encryption methods associated with the credential.private KeyDescriptorKey descriptor which contained the KeyInfo used.private RoleDescriptorRole in which credential was resolved. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the list ofEncryptionMethod's associated with credential context.Get the key descriptor context.Get the role descriptor context.
-
Field Details
-
keyDescriptor
Key descriptor which contained the KeyInfo used. -
role
Role in which credential was resolved. -
encMethods
Encryption methods associated with the credential.
-
-
Constructor Details
-
SAMLMDCredentialContext
Constructor.- Parameters:
descriptor- the KeyDescriptor context from which a credential was resolved
-
-
Method Details
-
getKeyDescriptor
Get the key descriptor context.- Returns:
- key descriptor
-
getEncryptionMethods
Return the list ofEncryptionMethod's associated with credential context.- Returns:
- a list of SAML metadata encryption method associated with this context
-
getRoleDescriptor
Get the role descriptor context.- Returns:
- role descriptor
-