Package org.jivesoftware.admin
Class SiteMinderServletRequestAuthenticator
java.lang.Object
org.jivesoftware.admin.SiteMinderServletRequestAuthenticator
- All Implemented Interfaces:
ServletRequestAuthenticator
public class SiteMinderServletRequestAuthenticator
extends Object
implements ServletRequestAuthenticator
Enables CA SiteMinder/Single Sign-On authentication to the admin console - https://www.ca.com/gb/products/ca-single-sign-on.html
To enable, set the system property adminConsole.servlet-request-authenticator =
org.jivesoftware.admin.SiteMinderServletRequestAuthenticator and restart Openfire.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticateRequest(javax.servlet.http.HttpServletRequest request) Attempts to authenticate an HTTP request to a page on the admin console.static booleanIndicates if this ServletRequestAuthenticator is enabled or not
-
Field Details
-
SITE_MINDER_HEADER
-
-
Constructor Details
-
SiteMinderServletRequestAuthenticator
public SiteMinderServletRequestAuthenticator()
-
-
Method Details
-
isEnabled
public static boolean isEnabled()Indicates if this ServletRequestAuthenticator is enabled or not- Returns:
trueif enabled, otherwisefalse
-
authenticateRequest
Description copied from interface:ServletRequestAuthenticatorAttempts to authenticate an HTTP request to a page on the admin console.- Specified by:
authenticateRequestin interfaceServletRequestAuthenticator- Parameters:
request- the request to authenticate- Returns:
- the username if it was possible to determine from the request, otherwise
null
-