fr.paris.lutece.plugins.mylutece.modules.oauth.authentication
Class XMLCredentialRetriever

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.AbstractOAuthCredentialsRetriever
      extended by 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

Constructor Summary
XMLCredentialRetriever()
           
 
Method Summary
 void doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse, OAuthUser user)
          Fills user info with httpResponse found data.
 
Methods inherited from class fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.AbstractOAuthCredentialsRetriever
getFormat, getTags, setFormat, setTags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLCredentialRetriever

public XMLCredentialRetriever()
Method Detail

doRetrieveUserInfo

public void doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse,
                               OAuthUser user)
Fills user info with httpResponse found data.

Parameters:
httpResponse - the http response
user - the user to fill


Copyright © 2010 Mairie de Paris. All Rights Reserved.