public interface ShibbolethAuthenticationService
Modifier and Type | Method and Description |
---|---|
String |
getLoginURL(javax.servlet.http.HttpServletRequest request)
Returns the computed login URL to Shibboleth , or
null if no login URL is configured. |
String |
getLoginURL(String redirectURL)
Returns the computed login URL to Shibboleth , or
null if no login URL is configured. |
String |
getLogoutURL(javax.servlet.http.HttpServletRequest request)
Returns the computed logout URL to Shibboleth, or
null if no logout URL is configured. |
String |
getLogoutURL(String redirectURL)
Returns the computed logout URL to Shibboleth, or
null if no logout URL is configured. |
String |
getUserID(javax.servlet.http.HttpServletRequest httpRequest)
Returns the user ID based on the source IdP.
|
com.google.common.collect.BiMap<String,String> |
getUserMetadata()
Returns a bi-map of the user metadata {response headers, values} based on the configuration.
|
Map<String,Object> |
getUserMetadata(String idField,
javax.servlet.http.HttpServletRequest httpRequest)
Returns a map of the user metadata based on the configuration.
|
String getLoginURL(String redirectURL)
null
if no login URL is configured.redirect
- URLString getLogoutURL(String redirectURL)
null
if no logout URL is configured.redirect
- URLString getLoginURL(javax.servlet.http.HttpServletRequest request)
null
if no login URL is configured.HTTP
- requestString getLogoutURL(javax.servlet.http.HttpServletRequest request)
null
if no logout URL is configured.HTTP
- requestString getUserID(javax.servlet.http.HttpServletRequest httpRequest)
HTTP
- requestMap<String,Object> getUserMetadata(String idField, javax.servlet.http.HttpServletRequest httpRequest)
HTTP
- requestcom.google.common.collect.BiMap<String,String> getUserMetadata()
Copyright © 2017 Nuxeo. All rights reserved.