Interface AuthenticationUrlProvider
-
- All Known Implementing Classes:
AuthenticationUrlProviderImpl
public interface AuthenticationUrlProviderThis interface defines the means for the AuthenticationHandler to obtain the URI to pass to the TokenAuthenticationRequestDispatcher. Implementations of this interface will encapsulate the realm and authIndexType and authIndexValue mappings necessary to return the appropriate URI. In other words, each STS instance will be created in the context of a specific realm. Each STS instance will also be created with a mapping which specifies the authIndexType and authIndexValue to be targeted for the validation of a particular token type (e.g. x509Tokens should be validated against an authIndexType=module and authIndexValue=MySpecialCertModule, etc.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URLauthenticationUrl(TokenTypeId tokenTypeId)Returns the String representing the URL against which the authentication invocation will be made.
-
-
-
Method Detail
-
authenticationUrl
URL authenticationUrl(TokenTypeId tokenTypeId) throws TokenValidationException
Returns the String representing the URL against which the authentication invocation will be made.- 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
-
-