public class ShibbolethAuthenticationServiceImpl extends DefaultComponent implements ShibbolethAuthenticationService
| Constructor and Description |
|---|
ShibbolethAuthenticationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ShibbolethAuthenticationConfig |
getConfig() |
String |
getLoginURL(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(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(HttpServletRequest httpRequest)
Returns the user ID based on the source IdP.
|
Map<String,Object> |
getUserMetadata(String userIdField,
HttpServletRequest httpRequest)
Returns a map of the user metadata based on the configuration.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtensionpublic static final String CONFIG_EP
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution in class DefaultComponentExceptionpublic 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(HttpServletRequest request)
ShibbolethAuthenticationServicenull if no
login URL is configured.getLoginURL in interface ShibbolethAuthenticationServicepublic String getLogoutURL(HttpServletRequest request)
ShibbolethAuthenticationServicenull if no
logout URL is configured.getLogoutURL in interface ShibbolethAuthenticationServicepublic String getUserID(HttpServletRequest httpRequest)
ShibbolethAuthenticationServicegetUserID in interface ShibbolethAuthenticationServicepublic Map<String,Object> getUserMetadata(String userIdField, HttpServletRequest httpRequest)
ShibbolethAuthenticationServicegetUserMetadata in interface ShibbolethAuthenticationServiceCopyright © 2013 Nuxeo SA. All Rights Reserved.