Package net.shibboleth.idp.cas.config
Class ConfigLookupFunction<T extends AbstractProtocolConfiguration>
- java.lang.Object
-
- net.shibboleth.idp.cas.config.ConfigLookupFunction<T>
-
- Type Parameters:
T- type of profile configuration
- All Implemented Interfaces:
Function<ProfileRequestContext,T>
public class ConfigLookupFunction<T extends AbstractProtocolConfiguration> extends Object implements Function<ProfileRequestContext,T>
Lookup function for extracting CAS profile configuration from the profile request context.
-
-
Field Summary
Fields Modifier and Type Field Description private Class<T>configClassType of profile configuration class.
-
Constructor Summary
Constructors Constructor Description ConfigLookupFunction(Class<T> clazz)Creates a new instance.
-
-
-
Field Detail
-
configClass
private final Class<T extends AbstractProtocolConfiguration> configClass
Type of profile configuration class.
-
-
Method Detail
-
apply
@Nullable public T apply(@Nullable ProfileRequestContext profileRequestContext)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,T extends AbstractProtocolConfiguration>
-
-