| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private boolean | |
| private final IdentityManager | |
| private final SingleSignOnAuthenticationMechanism. | |
| private static final Logger | |
| private String | |
| private final SingleSignOnAuthenticationMechanism. | |
| private boolean | |
| private final Set | |
| private final SingleSignOnManager | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AuthenticationMechanism. | authenticate(HttpServerExchange
The exchange exchange, SecurityContext securityContext)Implements io. Perform authentication of the request. |
| private void | |
| public String | |
| public String | |
| private IdentityManager | |
| public String | |
| protected Session | |
| public boolean | |
| public boolean | |
| private void | |
| public AuthenticationMechanism. | sendChallenge(HttpServerExchange
The exchange exchange, SecurityContext The security context securityContext)Implements io. Send an authentication challenge to the remote client. |
| public SingleSignOnAuthenticationMechanism | |
| public SingleSignOnAuthenticationMechanism | |
| public SingleSignOnAuthenticationMechanism | |
| public SingleSignOnAuthenticationMechanism | |
| public SingleSignOnAuthenticationMechanism |
| cookieName | back to summary |
|---|---|
| private String cookieName | |
| domain | back to summary |
|---|---|
| private String domain | |
| httpOnly | back to summary |
|---|---|
| private boolean httpOnly | |
| identityManager | back to summary |
|---|---|
| private final IdentityManager identityManager | |
| listener | back to summary |
|---|---|
| private final SingleSignOnAuthenticationMechanism. | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| path | back to summary |
|---|---|
| private String path | |
| responseListener | back to summary |
|---|---|
| private final SingleSignOnAuthenticationMechanism. | |
| secure | back to summary |
|---|---|
| private boolean secure | |
| seenSessionManagers | back to summary |
|---|---|
| private final Set<SessionManager> seenSessionManagers | |
| singleSignOnManager | back to summary |
|---|---|
| private final SingleSignOnManager singleSignOnManager | |
| SSO_SESSION_ATTRIBUTE | back to summary |
|---|---|
| private static final String SSO_SESSION_ATTRIBUTE | |
| SingleSignOnAuthenticationMechanism | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism(SingleSignOnManager storage) | |
| SingleSignOnAuthenticationMechanism | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism(SingleSignOnManager storage, IdentityManager identityManager) | |
| authenticate | back to summary |
|---|---|
| public AuthenticationMechanism. Implements io. Doc from io. Perform authentication of the request. Any potentially blocking work should be performed in the handoff executor provided
| |
| clearSsoCookie | back to summary |
|---|---|
| private void clearSsoCookie(HttpServerExchange exchange) | |
| getCookieName | back to summary |
|---|---|
| public String getCookieName() | |
| getDomain | back to summary |
|---|---|
| public String getDomain() | |
| getIdentityManager | back to summary |
|---|---|
private IdentityManager getIdentityManager(SecurityContext securityContext)
| |
| getPath | back to summary |
|---|---|
| public String getPath() | |
| getSession | back to summary |
|---|---|
| protected Session getSession(final HttpServerExchange exchange) | |
| isHttpOnly | back to summary |
|---|---|
| public boolean isHttpOnly() | |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() | |
| registerSessionIfRequired | back to summary |
|---|---|
| private void registerSessionIfRequired(SingleSignOn sso, Session session) | |
| sendChallenge | back to summary |
|---|---|
| public AuthenticationMechanism. Implements io. Doc from io. Send an authentication challenge to the remote client.
The individual mechanisms should update the response headers and body of the message as appropriate however they should
not set the response code, instead that should be indicated in the
| |
| setCookieName | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism setCookieName(String cookieName) | |
| setDomain | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism setDomain(String domain) | |
| setHttpOnly | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism setHttpOnly(boolean httpOnly) | |
| setPath | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism setPath(String path) | |
| setSecure | back to summary |
|---|---|
| public SingleSignOnAuthenticationMechanism setSecure(boolean secure) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public StreamSinkConduit | wrap(ConduitFactory<StreamSinkConduit>
the original conduit factory, HttpServerExchange the in-flight HTTP exchange exchange)Implements io. Wrap the conduit. |
| ResponseListener | back to summary |
|---|---|
| pack-priv ResponseListener() | |
| wrap | back to summary |
|---|---|
| public StreamSinkConduit wrap(ConduitFactory<StreamSinkConduit> factory, HttpServerExchange exchange) Implements io. Doc from io. Wrap the conduit. The wrapper should not return
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| SessionInvalidationListener | back to summary |
|---|---|
| pack-priv SessionInvalidationListener() | |
| attributeAdded | back to summary |
|---|---|
| public void attributeAdded(Session session, String name, Object value) Overrides default io.
| |
| attributeRemoved | back to summary |
|---|---|
| public void attributeRemoved(Session session, String name, Object oldValue) Overrides default io.
| |
| attributeUpdated | back to summary |
|---|---|
| public void attributeUpdated(Session session, String name, Object newValue, Object oldValue) Overrides default io.
| |
| sessionCreated | back to summary |
|---|---|
| public void sessionCreated(Session session, HttpServerExchange exchange) Overrides default io. Doc from io. Called when a session is created
| |
| sessionDestroyed | back to summary |
|---|---|
| public void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener. Overrides default io. Doc from io. Called when a session is destroyed
| |
| sessionIdChanged | back to summary |
|---|---|
| public void sessionIdChanged(Session session, String oldSessionId) Overrides default io.
| |