All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jivesoftware.admin.ServletRequestAuthenticator Maven / Gradle / Ivy

The newest version!
package org.jivesoftware.admin;

import javax.servlet.http.HttpServletRequest;

public interface ServletRequestAuthenticator {

    /**
     * Attempts to authenticate an HTTP request to a page on the admin console.
     * @param request the request to authenticate
     * @return the username if it was possible to determine from the request, otherwise {@code null}
     */
    String authenticateRequest(final HttpServletRequest request);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy