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.SiteMinderServletRequestAuthenticatorand restart Openfire.
-
-
Field Summary
Fields Modifier and Type Field Description static SystemProperty<String>SITE_MINDER_HEADER
-
Constructor Summary
Constructors Constructor Description SiteMinderServletRequestAuthenticator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthenticateRequest(javax.servlet.http.HttpServletRequest request)Attempts to authenticate an HTTP request to a page on the admin console.static booleanisEnabled()Indicates if this ServletRequestAuthenticator is enabled or not
-
-
-
Field Detail
-
SITE_MINDER_HEADER
public static final SystemProperty<String> SITE_MINDER_HEADER
-
-
Method Detail
-
isEnabled
public static boolean isEnabled()
Indicates if this ServletRequestAuthenticator is enabled or not- Returns:
trueif enabled, otherwisefalse
-
authenticateRequest
public String authenticateRequest(javax.servlet.http.HttpServletRequest request)
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
-
-