fr.paris.lutece.plugins.mylutece.modules.oauth.authentication
Class XMLCredentialRetriever
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.AbstractOAuthCredentialsRetriever
fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.XMLCredentialRetriever
- All Implemented Interfaces:
- IOAuthCredentialsRetriever
public class XMLCredentialRetriever
- extends AbstractOAuthCredentialsRetriever
XMLCredentialRetriever : parses credential XML.
Set the tags map to enhance info parsing.
Keys of the map is LuteceUser properties, values are tag that should be looked for.
- See Also:
AbstractOAuthCredentialsRetriever.DEFAULT_TAGS,
LuteceUser.NAME_FAMILY
|
Method Summary |
void |
doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse,
OAuthUser user)
Fills user info with httpResponse found data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLCredentialRetriever
public XMLCredentialRetriever()
doRetrieveUserInfo
public void doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse,
OAuthUser user)
- Fills user info with httpResponse found data.
- Parameters:
httpResponse - the http responseuser - the user to fill
Copyright © 2013 Mairie de Paris. All Rights Reserved.