Interface ShibbolethAuthenticationService
-
- All Known Implementing Classes:
ShibbolethAuthenticationServiceImpl
public interface ShibbolethAuthenticationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLoginURL(String redirectURL)Returns the computed login URL to Shibboleth , ornullif no login URL is configured.StringgetLoginURL(javax.servlet.http.HttpServletRequest request)Returns the computed login URL to Shibboleth , ornullif no login URL is configured.StringgetLogoutURL(String redirectURL)Returns the computed logout URL to Shibboleth, ornullif no logout URL is configured.StringgetLogoutURL(javax.servlet.http.HttpServletRequest request)Returns the computed logout URL to Shibboleth, ornullif no logout URL is configured.StringgetUserID(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.
-
-
-
Method Detail
-
getLoginURL
String getLoginURL(String redirectURL)
Returns the computed login URL to Shibboleth , ornullif no login URL is configured.
-
getLogoutURL
String getLogoutURL(String redirectURL)
Returns the computed logout URL to Shibboleth, ornullif no logout URL is configured.
-
getLoginURL
String getLoginURL(javax.servlet.http.HttpServletRequest request)
Returns the computed login URL to Shibboleth , ornullif no login URL is configured.
-
getLogoutURL
String getLogoutURL(javax.servlet.http.HttpServletRequest request)
Returns the computed logout URL to Shibboleth, ornullif no logout URL is configured.
-
getUserID
String getUserID(javax.servlet.http.HttpServletRequest httpRequest)
Returns the user ID based on the source IdP. In the configuration is defined which HTTP header is used for each registered IdP.
-
getUserMetadata
Map<String,Object> getUserMetadata(String idField, javax.servlet.http.HttpServletRequest httpRequest)
Returns a map of the user metadata based on the configuration. Keys are the field names and values coming from the HTTP headers.
-
-