org.sourceid.saml20.service.impl.proxy
Class BearerAssertionReplayPreventionSvcProxy

java.lang.Object
  extended by org.sourceid.saml20.service.impl.proxy.BearerAssertionReplayPreventionSvcProxy
All Implemented Interfaces:
BearerAssertionReplayPreventionService

public class BearerAssertionReplayPreventionSvcProxy
extends java.lang.Object
implements BearerAssertionReplayPreventionService

Chooses between an in-memory implementation or a multicast implementation at runtime depending on the configuration of the PingFederate server.

Author:
Brian Campbell

Constructor Summary
BearerAssertionReplayPreventionSvcProxy()
           
 
Method Summary
 boolean isReplay(java.lang.String assertionId, java.util.Calendar notOnOrAfter)
          Checks to see if the assertion has previously been processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BearerAssertionReplayPreventionSvcProxy

public BearerAssertionReplayPreventionSvcProxy()
                                        throws java.lang.IllegalAccessException,
                                               java.lang.InstantiationException
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
Method Detail

isReplay

public boolean isReplay(java.lang.String assertionId,
                        java.util.Calendar notOnOrAfter)
                 throws BearerAssertionReplayPreventionServiceException
Description copied from interface: BearerAssertionReplayPreventionService
Checks to see if the assertion has previously been processed.

Specified by:
isReplay in interface BearerAssertionReplayPreventionService
Parameters:
assertionId - the unique identifier of the assertion.
notOnOrAfter - the time at which the assertion is no longer valid.
Returns:
true if the assertion id has been processed previously, false otherwise.
Throws:
BearerAssertionReplayPreventionServiceException - for any unexpected runtime problem that the implementation cannot handle.


Copyright 2007 Ping Identity Corp. All rights reserved.