|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyInfoProvider
Interface for providers which support extracting a Credential
from
a child element of XML KeyInfo elements.
Method Summary | |
---|---|
boolean |
handles(XMLObject keyInfoChild)
Evaluate whether the given provider can attempt to resolve a credential from the specified KeyInfo child. |
java.util.Collection<Credential> |
process(KeyInfoCredentialResolver resolver,
XMLObject keyInfoChild,
CredentialCriteriaSet criteriaSet,
KeyInfoCredentialResolver.KeyInfoResolutionContext kiContext)
Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it. |
Method Detail |
---|
java.util.Collection<Credential> process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CredentialCriteriaSet criteriaSet, KeyInfoCredentialResolver.KeyInfoResolutionContext kiContext) throws SecurityException
resolver
- reference to the resolver which is calling the providerkeyInfoChild
- the KeyInfo child being processedcriteriaSet
- the credential criteria the credential must satisfykiContext
- the resolution context, used for sharing state between the resolver and the providers
SecurityException
- if there is an error during credential resolution.
Note: failure to resolve a credential is not an error.boolean handles(XMLObject keyInfoChild)
keyInfoChild
- the KeyInfo child object to consider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |