Package aQute.bnd.url

Class BasicAuthentication

    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
      • HEADER_AUTHORIZATION

        private static final java.lang.String HEADER_AUTHORIZATION
        See Also:
        Constant Field Values
      • PREFIX_BASIC_AUTH

        private static final java.lang.String PREFIX_BASIC_AUTH
        See Also:
        Constant Field Values
      • password

        private java.lang.String password
      • user

        private java.lang.String user
      • authentication

        private java.lang.String authentication
      • sha

        private java.lang.String sha
    • Constructor Detail

      • BasicAuthentication

        public BasicAuthentication()
      • BasicAuthentication

        public BasicAuthentication​(java.lang.String user,
                                   java.lang.String password,
                                   Reporter reporter)
    • Method Detail

      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> map)
                           throws java.lang.Exception
        Description copied from class: DefaultURLConnectionHandler
        Set the properties for this plugin. Subclasses should call this method before they handle their own properties.
        Specified by:
        setProperties in interface Plugin
        Overrides:
        setProperties in class DefaultURLConnectionHandler
        Parameters:
        map - attributes and directives for this plugin's clause
        Throws:
        java.lang.Exception
      • init

        private void init​(java.util.Map<java.lang.String,​java.lang.String> map)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object