public abstract class SsoValve extends BaseAuthValve
Title: Generic SSO auth valve
Description: authenticate users with a SSO server.
Copyright: Copyright (c) 2005 - Pascal Aubry
Company: University of Rennes 1
| Modifier and Type | Class and Description |
|---|---|
class |
SsoValve.LoginEvent |
| Constructor and Description |
|---|
SsoValve() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getRedirectUrl(javax.servlet.http.HttpServletRequest request)
Return the URL to redirect to for authentication.
|
void |
invoke(Object context,
ValveContext valveContext) |
boolean |
isSkipAuthentication() |
abstract Object |
retrieveCredentials(javax.servlet.http.HttpServletRequest request)
Retrieve the credentials from the request.
|
void |
setFireLoginEvent(boolean fireLoginEvent) |
void |
setSkipAuthentication(boolean skipAuthentication) |
abstract String |
validateCredentials(Object credentials,
javax.servlet.http.HttpServletRequest request)
Validate the credentials.
|
addValve, equals, getId, hashCode, indexOf, initialize, isEnabled, removeValve, setBeanName, setEnabled, setIdpublic void setFireLoginEvent(boolean fireLoginEvent)
public abstract Object retrieveCredentials(javax.servlet.http.HttpServletRequest request) throws Exception
request - current requestException - any exceptionpublic abstract String validateCredentials(Object credentials, javax.servlet.http.HttpServletRequest request) throws JahiaException
credentials - the crendentials.request - current requestException - any exceptionJahiaExceptionpublic void invoke(Object context, ValveContext valveContext) throws PipelineException
public abstract String getRedirectUrl(javax.servlet.http.HttpServletRequest request) throws JahiaException
request - current requestJahiaInitializationExceptionJahiaExceptionpublic boolean isSkipAuthentication()
public void setSkipAuthentication(boolean skipAuthentication)
Copyright © 2004–2021 Jahia Solutions Group SA. All rights reserved.