org.sourceid.saml20.service.impl.multicast
Class BearerAssertionReplayPreventionServiceMulticastImpl
java.lang.Object
org.sourceid.saml20.service.impl.multicast.BearerAssertionReplayPreventionServiceMulticastImpl
- All Implemented Interfaces:
- BearerAssertionReplayPreventionService
public class BearerAssertionReplayPreventionServiceMulticastImpl
- extends java.lang.Object
- implements BearerAssertionReplayPreventionService
A multicast backed implementation of this service interface that allows state to be shared
between nodes in a cluster.
State is replicated within a full cluster.
- Author:
- Brian Campbell
Field Summary |
protected org.sourceid.config.ConfigStore |
config
|
protected org.apache.commons.logging.Log |
log
|
protected org.jgroups.util.Promise |
promise
|
protected org.jgroups.blocks.RpcDispatcher |
rpcDispatcher
|
protected org.sourceid.saml20.state.StateAccepter |
stateAccepter
|
protected int |
timeout
|
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 |
log
protected final org.apache.commons.logging.Log log
config
protected final org.sourceid.config.ConfigStore config
timeout
protected final int timeout
stateAccepter
protected final org.sourceid.saml20.state.StateAccepter stateAccepter
rpcDispatcher
protected final org.jgroups.blocks.RpcDispatcher rpcDispatcher
promise
protected final org.jgroups.util.Promise promise
BearerAssertionReplayPreventionServiceMulticastImpl
public BearerAssertionReplayPreventionServiceMulticastImpl()
throws org.jgroups.ChannelException
- Throws:
org.jgroups.ChannelException
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.
Copyright 2007 Ping Identity Corp. All rights reserved.