Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6549811

add support for delegation in HTTP/SPNEGO

XMLWordPrintable

    • b17
    • generic
    • generic
    • Not verified

        Support for HTTP/SPNEGO is available starting from Java SE 6.

        However, currrently Java implementation of HTTP negotiate does not support "delegation".
        The GSS context flag for delegation needs to be enabled based on configuration.

        Mozilla/Firefox support following configuration parameters via about:config
        to enable delegation:
        - network.negotiate-auth.delegation-uris
        - network.negotiate-auth.trusted-uris

        1. network.negotiate-auth.trusted-uris
           URIs to attempt GSSAPI Negotiate authentication with. Set this to a comma-separated list of sites to automatically authenticate to, for example https://, sun.com will enable Negotiate authentication for all secure servers and all sites in the sun.com domain.

        2. network.negotiate-auth.delegation-uris
            URIs to delegate credentials to. Same syntax as above.

        IE uses the OK_TO_DELEGATE Kerberos service ticket flag to enable delegation.

        In Active Directory, the SPN needs to be enabled with OK-TO-DELEGATE flag. However all Kerberos implementations do not support this flag. Hence, this flag should be checked only if available.

              weijun Weijun Wang
              smalkanisunw Seema Malkani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: