Package org.forgerock.openam.uma
Class UmaProviderSettingsFactory
- java.lang.Object
-
- org.forgerock.openam.uma.UmaProviderSettingsFactory
-
public class UmaProviderSettingsFactory extends Object
A factory for creating/retrieving UmaProviderSettings instances.
It is up to the implementation to provide caching of UmaProviderSettings instance if it wants to supported multiple UMA providers.
- Since:
- 13.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UmaProviderSettingsget(String realm)Gets the instance of the UmaProviderSettings.UmaProviderSettingsget(OAuth2Request request)
-
-
-
Method Detail
-
get
public UmaProviderSettings get(OAuth2Request request) throws NotFoundException
- Throws:
NotFoundException
-
get
public UmaProviderSettings get(String realm) throws NotFoundException
Gets the instance of the UmaProviderSettings.
Cache each provider settings on the realm it was created for.
- Parameters:
realm- The realm.- Returns:
- The OAuth2ProviderSettings instance.
- Throws:
NotFoundException
-
-