com.ibm.wsspi.security.web.saml

Interface IdentityProviderMapping

  • All Known Subinterfaces:
    AuthnRequestProvider


    public interface IdentityProviderMapping
    Implementing this interface enables WebSphere Security to redirect request to an URL for re-authentication or displaying error message upon authentication failure. Implementation of this interface must provide implementations for:
    • getIdentityProviderOrErrorURL(HttpServletRequest, String)
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getIdentityProviderOrErrorURL(javax.servlet.http.HttpServletRequest req, java.lang.String errorMsg, java.lang.String acsUrl, java.util.ArrayList<java.lang.String> ssoUrls)
      Maps a HttpServletRequest to a valid URL.
    • Method Detail

      • getIdentityProviderOrErrorURL

        java.lang.String getIdentityProviderOrErrorURL(javax.servlet.http.HttpServletRequest req,
                                                     java.lang.String errorMsg,
                                                     java.lang.String acsUrl,
                                                     java.util.ArrayList<java.lang.String> ssoUrls)
                                                       throws NotImplementedException
        Maps a HttpServletRequest to a valid URL. This is used to map the HttpServletRequest to a valid URL, so that WebSphere can redirect user to the URL for re-login or receiving error message
        Parameters:
        req - the HttpServletRequest
        errorMsg - the String
        acsUrl - the String of AssertionConsumerService URL
        ssoUrl - the ArrayList of Single-SignOn service URLs
        Returns:
        the URL String of the user which should be redirected to
        Throws:
        NotImplementedException - if this implementation is not supported.
IBM WebSphere Application ServerTM
Release 9.0