Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


oracle.security.xmlsec.wss.saml
Class SAMLAssertionKeyIdentifierResolver

java.lang.Object
  extended byoracle.security.xmlsec.wss.saml.SAMLAssertionKeyIdentifierResolver


public abstract class SAMLAssertionKeyIdentifierResolver
extends java.lang.Object

Classes implementing this interface are used to resolve SAML assertion key identifiers.


Constructor Summary
SAMLAssertionKeyIdentifierResolver()

Method Summary
abstract PrivateKey getPrivateKey(SAMLAssertionKeyIdentifier keyID, java.lang.String valueType, oracle.security.xmlsec.saml.AuthorityBinding authority)
Sub-classes need to implement this method to resolve the SAML assertion key identifier and return the corresponding SAML assertion.
abstract oracle.security.crypto.cert.X509 getPublicKey(SAMLAssertionKeyIdentifier keyID, java.lang.String valueType, oracle.security.xmlsec.saml.AuthorityBinding authority)
Sub-classes need to implement this method to resolve the SAML assertion key identifier and return the corresponding SAML assertion.
abstract oracle.security.xmlsec.saml.Assertion resolve(SAMLAssertionKeyIdentifier keyID, java.lang.String valueType, oracle.security.xmlsec.saml.AuthorityBinding authority)
Sub-classes need to implement this method to resolve the SAML assertion key identifier and return the corresponding SAML assertion.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

SAMLAssertionKeyIdentifierResolver

public SAMLAssertionKeyIdentifierResolver()

Method Detail

resolve

public abstract oracle.security.xmlsec.saml.Assertion resolve(SAMLAssertionKeyIdentifier keyID,
                                                              java.lang.String valueType,
                                                              oracle.security.xmlsec.saml.AuthorityBinding authority)
                                                       throws SAMLAssertionKeyIdentifierResolverException
Sub-classes need to implement this method to resolve the SAML assertion key identifier and return the corresponding SAML assertion.
Parameters:
keyID - The SAML assertion key identifier.
valueType - The value type of the identifier data.
authority - The saml:AuthorityBinding used to acquire the identified assertion.
Returns:
The corresponding saml:Assertion on success or null on failure.
Throws:
SAMLAssertionKeyIdentifierResolverException

getPublicKey

public abstract oracle.security.crypto.cert.X509 getPublicKey(SAMLAssertionKeyIdentifier keyID,
                                                              java.lang.String valueType,
                                                              oracle.security.xmlsec.saml.AuthorityBinding authority)
                                                       throws SAMLAssertionKeyIdentifierResolverException
Sub-classes need to implement this method to resolve the SAML assertion key identifier and return the corresponding SAML assertion.
Parameters:
keyID - The SAML assertion key identifier.
valueType - The value type of the identifier data.
authority - The saml:AuthorityBinding used to acquire the identified assertion.
Returns:
The corresponding saml:Assertion on success or null on failure.
Throws:
SAMLAssertionKeyIdentifierResolverException

getPrivateKey

public abstract PrivateKey getPrivateKey(SAMLAssertionKeyIdentifier keyID,
                                         java.lang.String valueType,
                                         oracle.security.xmlsec.saml.AuthorityBinding authority)
                                  throws SAMLAssertionKeyIdentifierResolverException
Sub-classes need to implement this method to resolve the SAML assertion key identifier and return the corresponding SAML assertion.
Parameters:
keyID - The SAML assertion key identifier.
valueType - The value type of the identifier data.
authority - The saml:AuthorityBinding used to acquire the identified assertion.
Returns:
The corresponding saml:Assertion on success or null on failure.
Throws:
SAMLAssertionKeyIdentifierResolverException

Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


Copyright © 2005 , Oracle. All rights reserved.