Class OA2ClientConverter<V extends OA2Client>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- edu.uiuc.ncsa.security.storage.data.MonitoredConverter<V>
-
- org.oa4mp.delegation.common.clients.storage.BaseClientConverter<V>
-
- org.oa4mp.delegation.common.clients.storage.ClientConverter<V>
-
- org.oa4mp.server.loader.oauth2.storage.clients.OA2ClientConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
public class OA2ClientConverter<V extends OA2Client> extends ClientConverter<V>
Created by Jeff Gaynor
on 3/17/14 at 1:29 PM
-
-
Constructor Summary
Constructors Constructor Description OA2ClientConverter(OA2ClientKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
OA2ClientConverter(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromJSON(net.sf.json.JSONObject json)
V
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
OA2ClientKeys
getCK2()
LDAPConfigurationUtil
getLdapConfigurationUtil()
protected Collection<String>
jsonArrayToCollection(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, String key)
void
toJSON(V client, net.sf.json.JSONObject json)
void
toMap(V client, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.storage.transactions.ClientConverter
getCK, getJSONComponentName
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.storage.transactions.BaseClientConverter
getBKK, getJsonUtil
-
-
-
-
Constructor Detail
-
OA2ClientConverter
public OA2ClientConverter(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
OA2ClientConverter
public OA2ClientConverter(OA2ClientKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
-
Method Detail
-
getCK2
public OA2ClientKeys getCK2()
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
- Overrides:
fromMap
in classClientConverter<V extends OA2Client>
-
getLdapConfigurationUtil
public LDAPConfigurationUtil getLdapConfigurationUtil()
-
jsonArrayToCollection
protected Collection<String> jsonArrayToCollection(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, String key)
-
toMap
public void toMap(V client, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
- Overrides:
toMap
in classClientConverter<V extends OA2Client>
-
fromJSON
public V fromJSON(net.sf.json.JSONObject json)
- Overrides:
fromJSON
in classClientConverter<V extends OA2Client>
-
toJSON
public void toJSON(V client, net.sf.json.JSONObject json)
- Overrides:
toJSON
in classClientConverter<V extends OA2Client>
-
-