Package org.forgerock.openam.uma
Class UmaUrisFactory
- java.lang.Object
-
- org.forgerock.openam.uma.UmaUrisFactory
-
public class UmaUrisFactory extends Object
A factory for creating/retrieving UmaUris instances.
- Since:
- 13.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UmaUrisget(OAuth2Request request)UmaUrisget(OAuth2Request oAuth2Request, Realm realm)Gets the instance of the UmaUris.UmaUrisget(org.forgerock.services.context.Context context, Realm realm)Gets the instance of the UmaProviderSettings.
-
-
-
Method Detail
-
get
public UmaUris get(OAuth2Request request) throws NotFoundException, ServerException
- Throws:
NotFoundExceptionServerException
-
get
public UmaUris get(OAuth2Request oAuth2Request, Realm realm) throws NotFoundException, ServerException
Gets the instance of the UmaUris.
Cache each provider settings on the realm it was created for.
- Parameters:
oAuth2Request- The request instance from which the base URL can be deduced.realm- The realm.- Returns:
- The OAuth2ProviderSettings instance.
- Throws:
NotFoundExceptionServerException
-
get
public UmaUris get(org.forgerock.services.context.Context context, Realm realm) throws NotFoundException, ServerException
Gets the instance of the UmaProviderSettings.
Cache each provider settings on the realm it was created for.
- Parameters:
context- The context instance from which the base URL can be deduced.realm- The realm.- Returns:
- The OAuth2ProviderSettings instance.
- Throws:
NotFoundExceptionServerException
-
-