BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.security.providers.saml
Interface SAMLAssertionStoreV2

All Superinterfaces:
SAMLAssertionStore

public interface SAMLAssertionStoreV2
extends SAMLAssertionStore

SAMLAssertionStoreV2 extends the SAMLAssertionStore interface, adding methods to support identification and authentication of the destination site requesting an assertion from the SAML ARS.

Classes implementing this interface must have a public no-arg constructor.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Nested Class Summary
static class SAMLAssertionStoreV2.AssertionInfo
          The AssertionInfo class is returned by SAMLAssertionStoreV2.retrieveAssertionInfo().
 
Method Summary
 SAMLAssertionStoreV2.AssertionInfo retrieveAssertionInfo(String artifact)
          Retrieve the assertion info for a given artifact.
 boolean storeAssertionInfo(String artifact, String partnerId, long expire, Element assertion)
          Stores the given assertion for later retrieval using the specified artifact as a key.
 
Methods inherited from interface weblogic.security.providers.saml.SAMLAssertionStore
flushStore, initStore, releaseStore, retrieveAssertion, storeAssertion
 

Method Detail

retrieveAssertionInfo

public SAMLAssertionStoreV2.AssertionInfo retrieveAssertionInfo(String artifact)
Retrieve the assertion info for a given artifact. If successful, an AssertionInfo object containing the info corresponding to the artifact is returned to the caller and is also removed from the store.

Parameters:
artifact - The SAML artifact corresponding to the desired assertion.
Returns:
The requested AssertionInfo.

storeAssertionInfo

public boolean storeAssertionInfo(String artifact,
                                  String partnerId,
                                  long expire,
                                  Element assertion)
Stores the given assertion for later retrieval using the specified artifact as a key.

Parameters:
artifact - The SAML artifact to use as a key when storing/retrieving the assertion.
partnerId - The partnerId of the relying party (destination site) to which the artifact was sent.
expire - The NotOnOrAfter time of the assertion. The assertion may be discarded if not retrieved prior to this time.
assertion - The assertion to store, as a DOM Element.
Returns:
True if the assertion was successfully stored, false otherwise.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.