org.sourceid.saml20.service.impl.localmemory
Class BearerAssertionReplayPreventionSvcInMemoryImpl

java.lang.Object
  extended by org.sourceid.saml20.service.impl.localmemory.BearerAssertionReplayPreventionSvcInMemoryImpl
All Implemented Interfaces:
java.io.Serializable, BearerAssertionReplayPreventionService, org.sourceid.saml20.state.StateAccepter

public class BearerAssertionReplayPreventionSvcInMemoryImpl
extends java.lang.Object
implements BearerAssertionReplayPreventionService, org.sourceid.saml20.state.StateAccepter, java.io.Serializable

An implementation of the BearerAssertionReplayPreventionService backed implementation by some java collections.

Author:
Brian Campbell
See Also:
Serialized Form

Constructor Summary
BearerAssertionReplayPreventionSvcInMemoryImpl()
           
BearerAssertionReplayPreventionSvcInMemoryImpl(long timeBucketMills)
           
 
Method Summary
 boolean isReplay(java.lang.String assertionId, java.util.Calendar notOnOrAfter)
          Checks to see if the assertion has previously been processed.
 void setState(BearerAssertionReplayPreventionSvcInMemoryImpl other)
           
 void setState(org.sourceid.saml20.state.StateAccepter other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BearerAssertionReplayPreventionSvcInMemoryImpl

public BearerAssertionReplayPreventionSvcInMemoryImpl()

BearerAssertionReplayPreventionSvcInMemoryImpl

public BearerAssertionReplayPreventionSvcInMemoryImpl(long timeBucketMills)
Method Detail

isReplay

public boolean isReplay(java.lang.String assertionId,
                        java.util.Calendar notOnOrAfter)
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.

setState

public void setState(org.sourceid.saml20.state.StateAccepter other)
Specified by:
setState in interface org.sourceid.saml20.state.StateAccepter

setState

public void setState(BearerAssertionReplayPreventionSvcInMemoryImpl other)


Copyright 2007 Ping Identity Corp. All rights reserved.