public class HASingleSignOn extends GlassFishSingleSignOn
cache, infocontainer, controller, debug, domain, lifecycle, next, oname, startedAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENTEND_PIPELINE, INVOKE_NEXT| Constructor and Description |
|---|
HASingleSignOn(JavaEEIOUtils ioUtils,
org.glassfish.ha.store.api.BackingStore<String,HASingleSignOnEntryMetadata> ssoEntryMetadataBackingStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
associate(String ssoId,
long ssoVersion,
Session session)
Associate the specified single sign on identifier with the specified Session.
|
protected void |
deregister(String ssoId)
Deregister the specified single sign on identifier, and invalidate any associated sessions.
|
boolean |
isVersioningSupported()
Return a boolean to indicate whether the sso id version is supported or not.
|
protected SingleSignOnEntry |
lookup(String ssoId,
long ssoVersion)
Look up and return the cached SingleSignOn entry associated with this sso id value, if there is one; otherwise return
null. |
protected void |
register(String ssoId,
Principal principal,
String authType,
String username,
char[] password,
String realmName)
Register the specified Principal as being associated with the specified value for the single sign on identifier.
|
protected void |
removeSession(String ssoId,
Session session)
Remove a single Session from a SingleSignOn.
|
getActiveSessionCount, getHitCount, getMaxInactive, getMissCount, getReapInterval, invoke, run, sessionEvent, setMaxInactive, setReapInterval, start, stopderegister, getDebug, getInfo, log, log, lookup, setDebug, toStringaddLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getController, getDomain, getNext, getObjectName, getParentName, invoke, isStarted, postInvoke, removeLifecycleListener, setContainer, setController, setNext, setObjectNamepublic HASingleSignOn(JavaEEIOUtils ioUtils, org.glassfish.ha.store.api.BackingStore<String,HASingleSignOnEntryMetadata> ssoEntryMetadataBackingStore)
protected void deregister(String ssoId)
GlassFishSingleSignOnderegister in class GlassFishSingleSignOnssoId - Single sign on identifier to deregisterprotected void register(String ssoId, Principal principal, String authType, String username, char[] password, String realmName)
SingleSignOnregister in class SingleSignOnssoId - Single sign on identifier to registerprincipal - Associated user principal that is identifiedauthType - Authentication type used to authenticate this user principalusername - Username used to authenticate this userpassword - Password used to authenticate this userpublic void associate(String ssoId, long ssoVersion, Session session)
SingleSignOnassociate in class SingleSignOnssoId - Single sign on identifierssoVersion - Single sign on versionsession - Session to be associatedprotected SingleSignOnEntry lookup(String ssoId, long ssoVersion)
SingleSignOnnull.lookup in class SingleSignOnssoId - Single sign on identifier to look upssoVersion - Single sign on version to look upprotected void removeSession(String ssoId, Session session)
GlassFishSingleSignOnremoveSession in class GlassFishSingleSignOnssoId - Single sign on identifier from which to remove the session.session - the session to be removed.public boolean isVersioningSupported()
SingleSignOnisVersioningSupported in class SingleSignOnCopyright © 2019. All rights reserved.