Class HotRodSSOFactory<AV,SV,A,D,S,L>
- java.lang.Object
-
- org.wildfly.clustering.web.hotrod.sso.HotRodSSOFactory<AV,SV,A,D,S,L>
-
- All Implemented Interfaces:
org.wildfly.clustering.ee.Creator<String,Map.Entry<Map.Entry<A,AtomicReference<L>>,SV>,A>,org.wildfly.clustering.ee.Locator<String,Map.Entry<Map.Entry<A,AtomicReference<L>>,SV>>,org.wildfly.clustering.ee.Remover<String>,SSOFactory<Map.Entry<A,AtomicReference<L>>,SV,A,D,S,L>
public class HotRodSSOFactory<AV,SV,A,D,S,L> extends Object implements SSOFactory<Map.Entry<A,AtomicReference<L>>,SV,A,D,S,L>
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description HotRodSSOFactory(org.infinispan.client.hotrod.RemoteCache<AuthenticationKey,AuthenticationEntry<AV,L>> cache, org.wildfly.clustering.marshalling.spi.Marshaller<A,AV> marshaller, org.wildfly.clustering.web.LocalContextFactory<L> localContextFactory, SessionsFactory<SV,D,S> sessionsFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.wildfly.clustering.web.sso.SSO<A,D,S,L>createSSO(String id, Map.Entry<Map.Entry<A,AtomicReference<L>>,SV> value)Map.Entry<Map.Entry<A,AtomicReference<L>>,SV>createValue(String id, A authentication)Map.Entry<Map.Entry<A,AtomicReference<L>>,SV>findValue(String id)SessionsFactory<SV,D,S>getSessionsFactory()booleanremove(String id)
-
-
-
Constructor Detail
-
HotRodSSOFactory
public HotRodSSOFactory(org.infinispan.client.hotrod.RemoteCache<AuthenticationKey,AuthenticationEntry<AV,L>> cache, org.wildfly.clustering.marshalling.spi.Marshaller<A,AV> marshaller, org.wildfly.clustering.web.LocalContextFactory<L> localContextFactory, SessionsFactory<SV,D,S> sessionsFactory)
-
-
Method Detail
-
createSSO
public org.wildfly.clustering.web.sso.SSO<A,D,S,L> createSSO(String id, Map.Entry<Map.Entry<A,AtomicReference<L>>,SV> value)
-
createValue
public Map.Entry<Map.Entry<A,AtomicReference<L>>,SV> createValue(String id, A authentication)
-
remove
public boolean remove(String id)
- Specified by:
removein interfaceorg.wildfly.clustering.ee.Remover<AV>
-
getSessionsFactory
public SessionsFactory<SV,D,S> getSessionsFactory()
- Specified by:
getSessionsFactoryin interfaceSSOFactory<AV,SV,A,D,S,L>
-
-