Package org.opensaml.xml.security.credential

Interfaces and classes related to credentials and ways to represent them.

See:
          Description

Interface Summary
Credential A credential for an entity.
CredentialContext Marker interface for implementations which hold information specific to a a particular context within which a CredentialResolver resolves a Credential.
CredentialCriteria Interface which represents criteria by which a CredentialResolver should resolve credentials.
CredentialResolver A resolver which uses CredentialCriteria to resolve and return instances of Credential.
EvaluableCredentialCriteria Marker interface for evaluable credential resolver criteria.
 

Class Summary
AbstractCredential Base class for Credential implementations.
AbstractCredentialResolver Abstract base class for CredentialResolver implementations.
AbstractCriteriaFilteringCredentialResolver An abstract implementation of CredentialResolver which filters the returned Credentials based on the instances of EvaluableCredentialCriteria which are present in the set of criteria.
BasicCredential A basic implementation of Credential.
BasicKeyInfoGeneratorFactory A factory implementation which produces instances of BasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator capable of handling the information contained within a Credential.
CollectionCredentialResolver An implementation of CredentialResolver which uses a Collection as the underlying credential source.
CredentialContextSet This class holds instances of CredentialContext which represent information about the context in which a CredentialResolver has resolved a Credential.
CredentialCriteriaSet This class holds instances of CredentialCriteria which are used by a CredentialResolver to resolve Credential's.
EntityIDCriteria An implementation of Criteria which specifies criteria identifying a particular entity.
FilesystemCredentialResolver A CredentialResolver that pulls credential information from the file system.
KeyAlgorithmCriteria An implementation of CredentialCriteria which specifies key algorithm criteria.
KeyLengthCriteria An implementation of CredentialCriteria which specifies key length criteria.
KeyNameCriteria An implementation of CredentialCriteria which specifies key name criteria.
KeyStoreCredentialResolver A CredentialResolver that extracts Credential's from a key store.
PeerEntityIDCriteria An implementation of Criteria which specifies criteria pertaining to peer entity IDs.
PublicKeyCriteria An implementation of CredentialCriteria which specifies public key criteria.
StaticCredentialResolver Simple implementation of CredentialResolver which just stores and returns a static set of credentials.
UsageCriteria An implementation of CredentialCriteria which specifies criteria pertaining usage of the resolved credential.
 

Enum Summary
UsageType Credential usage types.
 

Package org.opensaml.xml.security.credential Description

Interfaces and classes related to credentials and ways to represent them. Developers will generally create and populate CredentialResolvers during application initialization time. CredentialCriteria can then be constructured to model the information the application has about a particular credential and then provided to the CredentialResolver in order retrieve the previously loaded credential information. Here are a couple of use cases where this approach might be used: