public class OA2ClientConfigurationFactory<V extends OA2ClientConfiguration> extends ClientConfigurationFactory<V>
Created by Jeff Gaynor
on 4/17/18 at 2:51 PM
Modifier and Type | Field and Description |
---|---|
static String |
FILE_SYSTEM_DEFAULT |
static String |
HEADER_DEFAULT |
static String |
LDAP_DEFAULT |
static String |
NCSA_DEFAULT |
functorFactory
Constructor and Description |
---|
OA2ClientConfigurationFactory(JFunctorFactory functorFactory) |
Modifier and Type | Method and Description |
---|---|
void |
createClaimSource(V cc,
net.sf.json.JSONObject json)
Create the claims sources from the configuration runtime information and set it in the configuration.
|
void |
extractClaimsSource(Script script,
net.sf.json.JSONObject json,
LinkedList<ClaimSource> claimSources) |
V |
get() |
protected Map<String,ClaimSourceConfiguration> |
getClaimSourceConfigurations(net.sf.json.JSONObject jsonObject) |
V |
newInstance(net.sf.json.JSONObject json)
Create a new
ClientConfiguration . |
protected ClaimSource |
setupClaimSource(String alias,
String configName,
net.sf.json.JSONObject json)
Setup the claim sources from the configuration given the alias of the source to use and the name of the configuration
to use.
|
void |
setupPostProcessing(V cc,
net.sf.json.JSONObject json) |
void |
setupPreProcessing(V cc,
net.sf.json.JSONObject json) |
public static final String LDAP_DEFAULT
public static final String HEADER_DEFAULT
public static final String NCSA_DEFAULT
public static final String FILE_SYSTEM_DEFAULT
public OA2ClientConfigurationFactory(JFunctorFactory functorFactory)
public V newInstance(net.sf.json.JSONObject json)
ClientConfigurationFactory
ClientConfiguration
.newInstance
in class ClientConfigurationFactory<V extends OA2ClientConfiguration>
public void createClaimSource(V cc, net.sf.json.JSONObject json)
json
- cc
- public void extractClaimsSource(Script script, net.sf.json.JSONObject json, LinkedList<ClaimSource> claimSources)
protected Map<String,ClaimSourceConfiguration> getClaimSourceConfigurations(net.sf.json.JSONObject jsonObject)
protected ClaimSource setupClaimSource(String alias, String configName, net.sf.json.JSONObject json)
alias
- configName
- json
- - the TOP LEVEL configuration objectpublic void setupPreProcessing(V cc, net.sf.json.JSONObject json)
public void setupPostProcessing(V cc, net.sf.json.JSONObject json)
public V get()
get
in interface javax.inject.Provider<V extends OA2ClientConfiguration>
get
in class ClientConfigurationFactory<V extends OA2ClientConfiguration>
Copyright © 2019. All Rights Reserved.