public class CoarseSSOFactory<I,D,L> extends Object implements SSOFactory<CoarseSSOEntry<I,D,L>,I,D,L>
Creator.CreateOperation<K,V>
Locator.FindOperation<K,V>, Locator.LockingFindOperation<K,V>
Remover.RemoveOperation<K,V>
Constructor and Description |
---|
CoarseSSOFactory(org.infinispan.Cache<String,CoarseAuthenticationEntry<I,D,L>> authenticationCache,
org.infinispan.Cache<CoarseSessionsKey,Map<D,String>> sessionsCache,
CacheInvoker invoker,
LocalContextFactory<L> localContextFactory) |
Modifier and Type | Method and Description |
---|---|
SSO<I,D,L> |
createSSO(String id,
CoarseSSOEntry<I,D,L> entry) |
CoarseSSOEntry<I,D,L> |
createValue(String id)
Creates a value in the cache, if it does not already exist.
|
CoarseSSOEntry<I,D,L> |
findValue(String id)
Locates the value in the cache with the specified identifier.
|
void |
remove(String id)
Removes the specified entry from the cache.
|
public CoarseSSOFactory(org.infinispan.Cache<String,CoarseAuthenticationEntry<I,D,L>> authenticationCache, org.infinispan.Cache<CoarseSessionsKey,Map<D,String>> sessionsCache, CacheInvoker invoker, LocalContextFactory<L> localContextFactory)
public SSO<I,D,L> createSSO(String id, CoarseSSOEntry<I,D,L> entry)
createSSO
in interface SSOFactory<CoarseSSOEntry<I,D,L>,I,D,L>
public CoarseSSOEntry<I,D,L> createValue(String id)
Creator
createValue
in interface Creator<String,CoarseSSOEntry<I,D,L>>
id
- the cache entry identifier.public CoarseSSOEntry<I,D,L> findValue(String id)
Locator
Copyright © 2015 JBoss by Red Hat. All rights reserved.