Class AuthenticationUrlProviderImpl
- java.lang.Object
-
- org.forgerock.openam.sts.token.validator.url.AuthenticationUrlProviderImpl
-
- All Implemented Interfaces:
AuthenticationUrlProvider
public class AuthenticationUrlProviderImpl extends Object implements AuthenticationUrlProvider
- See Also:
AuthenticationUrlProvider
-
-
Constructor Summary
Constructors Constructor Description AuthenticationUrlProviderImpl(String amDeploymentUrl, String restAuthnUriElement, AuthTargetMapping authTargetMapping, String realm, String jsonRoot, UrlConstituentCatenator urlConstituentCatenator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLauthenticationUrl(TokenTypeId tokenTypeId)Returns the String representing the URL against which the authentication invocation will be made.
-
-
-
Constructor Detail
-
AuthenticationUrlProviderImpl
@Inject public AuthenticationUrlProviderImpl(@Named("am_deployment_url") String amDeploymentUrl, @Named("am_rest_authn") String restAuthnUriElement, AuthTargetMapping authTargetMapping, @Named("am_realm") String realm, @Named("am_rest_authn_json_root") String jsonRoot, UrlConstituentCatenator urlConstituentCatenator)
-
-
Method Detail
-
authenticationUrl
public URL authenticationUrl(TokenTypeId tokenTypeId) throws TokenValidationException
Description copied from interface:AuthenticationUrlProviderReturns the String representing the URL against which the authentication invocation will be made.- Specified by:
authenticationUrlin interfaceAuthenticationUrlProvider- Parameters:
tokenTypeId- The to-be-validated Token.- Returns:
- The URL targeted by the authentication request - e.g. with the appropriate
?realm=phill&authIndexType=service&authIndexValue=[SERVICE_NAME]elements appended onto the httpBasePath. - Throws:
TokenValidationException
-
-