public class InfinispanSSOManager<AV,SV,A,D,L> extends Object implements SSOManager<A,D,L,TransactionBatch>
Constructor and Description |
---|
InfinispanSSOManager(SSOFactory<AV,SV,A,D,L> factory,
IdentifierFactory<String> identifierFactory,
Batcher<TransactionBatch> batcher) |
Modifier and Type | Method and Description |
---|---|
String |
createIdentifier() |
SSO<A,D,L> |
createSSO(String ssoId,
A authentication)
Creates a new single sign on entry.
|
Sessions<D> |
findSessionsContaining(String sessionId)
Searches for the sessions of the single sign on entry containing the specified session.
|
SSO<A,D,L> |
findSSO(String ssoId)
Returns the single sign on entry identified by the specified identifier.
|
Batcher<TransactionBatch> |
getBatcher()
A mechanism for starting/stopping a batch.
|
void |
start() |
void |
stop() |
public InfinispanSSOManager(SSOFactory<AV,SV,A,D,L> factory, IdentifierFactory<String> identifierFactory, Batcher<TransactionBatch> batcher)
public SSO<A,D,L> createSSO(String ssoId, A authentication)
SSOManager
createSSO
in interface SSOManager<A,D,L,TransactionBatch>
ssoId
- a unique SSO identifierpublic SSO<A,D,L> findSSO(String ssoId)
SSOManager
findSSO
in interface SSOManager<A,D,L,TransactionBatch>
ssoId
- a unique SSO identifierpublic Sessions<D> findSessionsContaining(String sessionId)
SSOManager
findSessionsContaining
in interface SSOManager<A,D,L,TransactionBatch>
sessionId
- a unique session identifierpublic Batcher<TransactionBatch> getBatcher()
SSOManager
getBatcher
in interface SSOManager<A,D,L,TransactionBatch>
public String createIdentifier()
createIdentifier
in interface IdentifierFactory<String>
public void start()
start
in interface IdentifierFactory<String>
public void stop()
stop
in interface IdentifierFactory<String>
Copyright © 2016 JBoss by Red Hat. All rights reserved.