Class DefaultSpnegoClientAction

  • All Implemented Interfaces:
    PrivilegedAction<byte[]>, SpnegoClientAction

    public class DefaultSpnegoClientAction
    extends Object
    implements SpnegoClientAction
    This class represents a PrivilegedAction implementation to obtain a (SPNEGO) service ticket from a Kerberos Key Distribution Center.
    • Constructor Detail

      • DefaultSpnegoClientAction

        public DefaultSpnegoClientAction()
    • Method Detail

      • setMutualAuth

        public void setMutualAuth​(boolean mutualAuthentication)
        Whether to enable mutual authentication or not.
        Specified by:
        setMutualAuth in interface SpnegoClientAction
      • setUserNameServiceForm

        public void setUserNameServiceForm​(boolean isUsernameServiceNameForm)
        Description copied from interface: SpnegoClientAction
        If true - sets the SPN form to "username"
        If false(default) - the SPN form is "hostbased"
        Specified by:
        setUserNameServiceForm in interface SpnegoClientAction
        isUsernameServiceNameForm - the isUsernameServiceNameForm to set