org.sourceid.saml20.service.impl.localmemory
Class BearerAssertionReplayPreventionSvcInMemoryImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BearerAssertionReplayPreventionSvcInMemoryImpl
public BearerAssertionReplayPreventionSvcInMemoryImpl()
BearerAssertionReplayPreventionSvcInMemoryImpl
public BearerAssertionReplayPreventionSvcInMemoryImpl(long timeBucketMills)
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.