public class ApacheIdP extends IdProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_AUTHENTICATION_CONTEXT |
static java.lang.String |
DEFAULT_LOGIN_LOCATION
Default service point for the mod_shib Login
|
static java.lang.String |
DEFAULT_LOGOUT_LOCATION
Default service point for the mod_shib Logout
|
_authContext, _serviceContext
Constructor and Description |
---|
ApacheIdP() |
Modifier and Type | Method and Description |
---|---|
boolean |
doLogin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Logs a user out.
|
java.lang.String |
getLoginEndpoint() |
java.lang.String |
getLogoutEndpoint() |
void |
init(org.jdom.Element config,
java.lang.String serviceContext) |
getAuthContext, getDescription, getServiceContext, isDefault, setAuthContext, setDescription, setServiceContext
public static final java.lang.String DEFAULT_AUTHENTICATION_CONTEXT
public static final java.lang.String DEFAULT_LOGOUT_LOCATION
public static final java.lang.String DEFAULT_LOGIN_LOCATION
public void init(org.jdom.Element config, java.lang.String serviceContext) throws ConfigurationException
init
in class IdProvider
ConfigurationException
public boolean doLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
doLogin
in class IdProvider
request
- response
- java.lang.Exception
public void doLogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
doLogout
in class IdProvider
java.io.IOException
public java.lang.String getLoginEndpoint()
getLoginEndpoint
in class IdProvider
public java.lang.String getLogoutEndpoint()
getLogoutEndpoint
in class IdProvider