Class AuthChallenge


  • public class AuthChallenge
    extends java.lang.Object
    Details of a "WWW-Authenticate" header.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      AuthScheme authScheme  
      java.lang.String nonce  
      java.lang.String opaque  
      java.util.Map<java.lang.String,​java.lang.String> parsed  
      java.lang.String qop  
      java.lang.String realm  
      static java.lang.String SCHEME
      Map key name used to record the authentication scheme (entries in the header are lower case and never clash with this name).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AuthChallenge parse​(java.lang.String authHeaderStr)
      Parse "WWW-Authenticate:" challenge message
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SCHEME

        public static java.lang.String SCHEME
        Map key name used to record the authentication scheme (entries in the header are lower case and never clash with this name).
      • realm

        public final java.lang.String realm
      • nonce

        public final java.lang.String nonce
      • opaque

        public final java.lang.String opaque
      • qop

        public final java.lang.String qop
      • parsed

        public final java.util.Map<java.lang.String,​java.lang.String> parsed
    • Method Detail

      • parse

        public static AuthChallenge parse​(java.lang.String authHeaderStr)
        Parse "WWW-Authenticate:" challenge message