org.eclipse.jetty.server.SessionManager Java Examples

The following examples show how to use org.eclipse.jetty.server.SessionManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractSessionIdManager.java    From nano-framework with Apache License 2.0 5 votes vote down vote up
private void forEachSessionManager(final SessionManagerCallback callback) {
    Handler[] contexts = server.getChildHandlersByClass(ContextHandler.class);
    for (int i = 0; contexts != null && i < contexts.length; i++) {
        final SessionHandler sessionHandler = ((ContextHandler) contexts[i]).getChildHandlerByClass(SessionHandler.class);
        if (sessionHandler != null) {
            final SessionManager manager = sessionHandler.getSessionManager();
            if (manager != null && manager instanceof AbstractSessionManager) {
                callback.execute((AbstractSessionManager) manager);
            }
        }
    }
}
 
Example #2
Source File: Jetty93SessionManager.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public Jetty93SessionManager(SessionManager sessionManager) {
    this.sessionManager = sessionManager;
}
 
Example #3
Source File: Jetty92SessionManager.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public Jetty92SessionManager(SessionManager sessionManager) {
    this.sessionManager = sessionManager;
}
 
Example #4
Source File: WrappingSessionHandler.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public WrappingSessionHandler(SessionManager mgr) {
    super(mgr);
}
 
Example #5
Source File: Jetty9SessionManager.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public Jetty9SessionManager(SessionManager sessionManager) {
    this.sessionManager = sessionManager;
}
 
Example #6
Source File: Jetty9SessionManager.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public Jetty9SessionManager(SessionManager sessionManager) {
    this.sessionManager = sessionManager;
}