Class NCSALDAPClaimSource
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.BasicClaimsSourceImpl
-
- org.oa4mp.server.loader.oauth2.claims.LDAPClaimsSource
-
- org.oa4mp.server.loader.oauth2.claims.NCSALDAPClaimSource
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable,Serializable,org.oa4mp.delegation.server.server.claims.ClaimSource
public class NCSALDAPClaimSource extends LDAPClaimsSource
AnLDAPClaimsSourcefor the NCSA. This has the more common defaults.Created by Jeff Gaynor
on 10/5/18 at 12:32 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SEACH_NAME-
Fields inherited from class org.oa4mp.server.loader.oauth2.claims.LDAPClaimsSource
context, loggingEnabled
-
Fields inherited from class org.oa4mp.server.loader.oauth2.claims.BasicClaimsSourceImpl
groupHandler
-
-
Constructor Summary
Constructors Constructor Description NCSALDAPClaimSource()No arg constructor is needed for invocation by reflection.NCSALDAPClaimSource(String claimName)NOTE that his uses the search filter attribute == the name of the claim to look up and search on (like sub, uid) and if it is missing will default to using the sub claim.NCSALDAPClaimSource(org.oa4mp.delegation.server.server.config.LDAPConfiguration ldapConfiguration, edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger)NCSALDAPClaimSource(OA2SE oa2SE)NCSALDAPClaimSource(org.qdl_lang.variables.QDLStem stem)NCSALDAPClaimSource(org.qdl_lang.variables.QDLStem stem, OA2SE oa2SE)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateDefaultConfig()org.oa4mp.delegation.server.server.claims.ClaimSourceConfigurationgetConfiguration()Lazy initialization since it is assumed that this is needed to populate this from JSON or QDL.StringtoString()-
Methods inherited from class org.oa4mp.server.loader.oauth2.claims.LDAPClaimsSource
closeConnection, convertToEntry, createConnection, createEnv, debug, error, error, fromQDL, get_NEW_Gid, getClaims, getLDAPCfg, getMyLogger, getSearchFilterAttribute, getSearchName, handleException, info, isDebugOn, isEnabled, isLoggedOn, isNCSA, logon, processNCSAGroups, realProcessing, sayit, setDebugOn, simpleSearch, toJSON, toQDL, warn
-
Methods inherited from class org.oa4mp.server.loader.oauth2.claims.BasicClaimsSourceImpl
addToStem, getGroupHandler, getOa2SE, getOmitList, getScopes, hasConfiguration, isRunOnlyAtAuthorization, process, process, setConfiguration, setGroupHandler, setOa2SE, setOmitList, setScopes
-
-
-
-
Field Detail
-
DEFAULT_SEACH_NAME
public static final String DEFAULT_SEACH_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NCSALDAPClaimSource
public NCSALDAPClaimSource()
No arg constructor is needed for invocation by reflection.
-
NCSALDAPClaimSource
public NCSALDAPClaimSource(org.qdl_lang.variables.QDLStem stem)
-
NCSALDAPClaimSource
public NCSALDAPClaimSource(org.qdl_lang.variables.QDLStem stem, OA2SE oa2SE)
-
NCSALDAPClaimSource
public NCSALDAPClaimSource(String claimName)
NOTE that his uses the search filter attribute == the name of the claim to look up and search on (like sub, uid) and if it is missing will default to using the sub claim.- Parameters:
claimName-
-
NCSALDAPClaimSource
public NCSALDAPClaimSource(org.oa4mp.delegation.server.server.config.LDAPConfiguration ldapConfiguration, edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger)
-
NCSALDAPClaimSource
public NCSALDAPClaimSource(OA2SE oa2SE)
-
-
Method Detail
-
createDefaultConfig
protected void createDefaultConfig()
-
getConfiguration
public org.oa4mp.delegation.server.server.claims.ClaimSourceConfiguration getConfiguration()
Description copied from class:LDAPClaimsSourceLazy initialization since it is assumed that this is needed to populate this from JSON or QDL.- Specified by:
getConfigurationin interfaceorg.oa4mp.delegation.server.server.claims.ClaimSource- Overrides:
getConfigurationin classLDAPClaimsSource
-
toString
public String toString()
- Overrides:
toStringin classLDAPClaimsSource
-
-