public final class OAuthService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
createNewAuthentication(OAuthAuthentication authentication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a new authentication and registers it.
|
String |
doAuthentication(javax.servlet.http.HttpServletRequest request)
Do the actual authentication
|
OAuthAuthentication |
getAuthentication(String strAuthName)
Gets the authentication
|
List<OAuthAuthentication> |
getListAuthentication()
Finds the registered authentication list.
|
void |
init()
Inits the authentications.
|
void |
removeAuthentication(String strAuthenticationName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the authentication
|
void |
updateAuthentication(OAuthAuthentication authentication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the authentication : registers it and saves it.
|
public void init()
public OAuthAuthentication getAuthentication(String strAuthName)
strAuthName - the auth namenull otherwise.public List<OAuthAuthentication> getListAuthentication()
public void createNewAuthentication(OAuthAuthentication authentication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
authentication - the authentication to createplugin - the pluginpublic void updateAuthentication(OAuthAuthentication authentication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
authentication - the authenticationplugin - the pluginpublic void removeAuthentication(String strAuthenticationName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strAuthenticationName - the authentication name.plugin - the pluginpublic String doAuthentication(javax.servlet.http.HttpServletRequest request)
request - the request with auth_provider parameterCopyright © 2015 City of Paris. All rights reserved.