Class ClaimSourceFactoryImpl
- java.lang.Object
-
- org.oa4mp.delegation.server.claims.server.ClaimSourceFactory
-
- org.oa4mp.server.loader.oauth2.claims.ClaimSourceFactoryImpl
-
public class ClaimSourceFactoryImpl extends ClaimSourceFactory
Created by Jeff Gaynor
on 12/16/16 at 3:08 PM
-
-
Constructor Summary
Constructors Constructor Description ClaimSourceFactoryImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClaimSource
create(ClaimSourceFactoryRequest request)
static LinkedList<ClaimSource>
createClaimSources(OA2SE oa2SE, OA2ServiceTransaction transaction)
This creates a uniform list of claim sources for both the access token servlet and the user info servlet.protected static ClaimSource
processDefaultConfig(ClaimSourceConfigurationUtil claimSourceConfigurationUtil, net.sf.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)
protected static ClaimSource
processLDAPConfig(LDAPConfigurationUtil ldapConfigurationUtil, net.sf.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.oa2.server.claims.ClaimSourceFactory
getFactory, isFactorySet, newInstance, setFactory
-
-
-
-
Method Detail
-
create
public ClaimSource create(ClaimSourceFactoryRequest request)
- Specified by:
create
in classClaimSourceFactory
-
createClaimSources
public static LinkedList<ClaimSource> createClaimSources(OA2SE oa2SE, OA2ServiceTransaction transaction)
This creates a uniform list of claim sources for both the access token servlet and the user info servlet. It will use a common handler if there is one and use the configured factory to create appropriate ones (and populate them with the right runtime environment otherwise.- Parameters:
oa2SE
-transaction
-- Returns:
-
processDefaultConfig
protected static ClaimSource processDefaultConfig(ClaimSourceConfigurationUtil claimSourceConfigurationUtil, net.sf.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)
-
processLDAPConfig
protected static ClaimSource processLDAPConfig(LDAPConfigurationUtil ldapConfigurationUtil, net.sf.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)
-
-