Class SPNEGOAutoLoginManagerTest


  • public class SPNEGOAutoLoginManagerTest
    extends Object
    • Field Detail

      • AUTOLOGIN_COOKIE_VALUE_FALSE

        protected static final String AUTOLOGIN_COOKIE_VALUE_FALSE
        SPNEGO auto-login cookie value representing false.
        See Also:
        Constant Field Values
      • AUTOLOGIN_COOKIE_VALUE_OTHER

        protected static final String AUTOLOGIN_COOKIE_VALUE_OTHER
        SPNEGO auto-login cookie value representing "ignored value".
        See Also:
        Constant Field Values
    • Constructor Detail

      • SPNEGOAutoLoginManagerTest

        public SPNEGOAutoLoginManagerTest()
    • Method Detail

      • enableAutoLogin_shouldSetCookieToTrue

        public void enableAutoLogin_shouldSetCookieToTrue()
                                                   throws Exception
        Throws:
        Exception
      • disableAutoLogin_shouldUnsetCookie

        public void disableAutoLogin_shouldUnsetCookie()
                                                throws Exception
        Throws:
        Exception
      • givenCookieTrue_onlyIsEnabledShouldReturnTrue

        public void givenCookieTrue_onlyIsEnabledShouldReturnTrue()
                                                           throws Exception
        Throws:
        Exception
      • givenCookieAbsent_onlyIsDisabledShouldReturnTrue

        public void givenCookieAbsent_onlyIsDisabledShouldReturnTrue()
                                                              throws Exception
        Throws:
        Exception
      • givenCookieFalse_onlyIsDisabledShouldReturnTrue

        public void givenCookieFalse_onlyIsDisabledShouldReturnTrue()
                                                             throws Exception
        Throws:
        Exception
      • givenCookieOtherValue_onlyIsDisabledShouldReturnTrue

        public void givenCookieOtherValue_onlyIsDisabledShouldReturnTrue()
                                                                  throws Exception
        Throws:
        Exception