public class ShibbolethAuthenticationServiceImpl extends DefaultComponent implements ShibbolethAuthenticationService
| Modifier and Type | Field and Description | 
|---|---|
protected ShibbolethAuthenticationConfig | 
config  | 
static String | 
CONFIG_EP  | 
lastModified, name| Constructor and Description | 
|---|
ShibbolethAuthenticationServiceImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
ShibbolethAuthenticationConfig | 
getConfig()  | 
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 userIdField,
               javax.servlet.http.HttpServletRequest httpRequest)
Returns a map of the user metadata based on the configuration. 
 | 
protected String | 
readHeader(javax.servlet.http.HttpServletRequest request,
          String key)  | 
void | 
registerContribution(Object contribution,
                    String extensionPoint,
                    ComponentInstance contributor)  | 
activate, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderpublic static final String CONFIG_EP
protected ShibbolethAuthenticationConfig config
public ShibbolethAuthenticationServiceImpl()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic ShibbolethAuthenticationConfig getConfig()
public String getLoginURL(String redirectURL)
ShibbolethAuthenticationServicenull if no login URL is configured.getLoginURL in interface ShibbolethAuthenticationServicepublic String getLogoutURL(String redirectURL)
ShibbolethAuthenticationServicenull if no logout URL is configured.getLogoutURL in interface ShibbolethAuthenticationServicepublic String getLoginURL(javax.servlet.http.HttpServletRequest request)
ShibbolethAuthenticationServicenull if no login URL is configured.getLoginURL in interface ShibbolethAuthenticationServicepublic String getLogoutURL(javax.servlet.http.HttpServletRequest request)
ShibbolethAuthenticationServicenull if no logout URL is configured.getLogoutURL in interface ShibbolethAuthenticationServicepublic String getUserID(javax.servlet.http.HttpServletRequest httpRequest)
ShibbolethAuthenticationServicegetUserID in interface ShibbolethAuthenticationServicepublic Map<String,Object> getUserMetadata(String userIdField, javax.servlet.http.HttpServletRequest httpRequest)
ShibbolethAuthenticationServicegetUserMetadata in interface ShibbolethAuthenticationServicepublic com.google.common.collect.BiMap<String,String> getUserMetadata()
ShibbolethAuthenticationServicegetUserMetadata in interface ShibbolethAuthenticationServiceprotected String readHeader(javax.servlet.http.HttpServletRequest request, String key)
Copyright © 2019 Nuxeo. All rights reserved.