|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.oauth.service.OAuthService
public final class OAuthService
OAuthService
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void init()
public OAuthAuthentication getAuthentication(String strAuthName)
strAuthName - the auth name
null otherwise.public List<OAuthAuthentication> getListAuthentication()
public void createNewAuthentication(OAuthAuthentication authentication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
authentication - the authentication to createplugin - the plugin
public void updateAuthentication(OAuthAuthentication authentication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
authentication - the authenticationplugin - the plugin
public 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 parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||