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

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.AbstractOAuthCredentialsRetriever
All Implemented Interfaces:
IOAuthCredentialsRetriever
Direct Known Subclasses:
JSONCredentialRetriever, XMLCredentialRetriever

public abstract class AbstractOAuthCredentialsRetriever
extends java.lang.Object
implements IOAuthCredentialsRetriever

AbstractOAuthCredentialsRetriever.
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:
DEFAULT_TAGS, LuteceUser.NAME_FAMILY

Constructor Summary
AbstractOAuthCredentialsRetriever()
           
 
Method Summary
 java.lang.String getFormat()
          Gets the supported format
 java.util.Map<java.lang.String,java.lang.String[]> getTags()
          "Getter method" for _tags.
 void setFormat(java.lang.String strFormat)
          Sets the supported format
 void setTags(java.util.Map<java.lang.String,java.lang.String[]> tags)
          "Setter method" for _tags.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.IOAuthCredentialsRetriever
doRetrieveUserInfo
 

Constructor Detail

AbstractOAuthCredentialsRetriever

public AbstractOAuthCredentialsRetriever()
Method Detail

setFormat

public void setFormat(java.lang.String strFormat)
Sets the supported format

Parameters:
strFormat - the supported format

getFormat

public java.lang.String getFormat()
Gets the supported format

Specified by:
getFormat in interface IOAuthCredentialsRetriever
Returns:
the supported format

getTags

public java.util.Map<java.lang.String,java.lang.String[]> getTags()
"Getter method" for _tags.
Keys of the map is LuteceUser properties, values are tag that should be looked for.

Returns:
value of _tags

setTags

public void setTags(java.util.Map<java.lang.String,java.lang.String[]> tags)
"Setter method" for _tags.
Keys of the map is LuteceUser properties, values are tag that should be looked for.

Parameters:
tags - new value of _tags


Copyright © 2010 Mairie de Paris. All Rights Reserved.