Hello Shawn,

I would like to have a very clear instructions for the bug:
 http://defect.opensolaris.org/bz/show_bug.cgi?id=13173

When I was rewritting the modify publisher dialogs I was following your instructions:

 "
Either way, regardless of code freeze, the GUI *must*:

 * prevent the addition of http URLs if SSL Cert/Key info is defined

* must allow mixing http and https URLs for origins and mirrors (modulo the above restriction)
 "


The easiest way for me will be to write use-case scenarios and if you can clarify if those covers what you have expected. Please note that the scenarios are only for modifying/adding Origins, but exactly the same rules applies to mirrors.

I believe this is implemented, so I really need clarifications what is wrong/missing. The below scenarios allows to mix http/https URLs for origins and mirrors and prevents the addition of http URLs when SSL Cert/Key info is defined.


------------------------
SCENARIO 1
------------------------
SYSTEM CONFIGURATION:
      Configured publishers:
        INSECURE (non ssl)

      Origins for the SECURE:
        http://origin1

USER ACTION:
  User adding another origin SECURE.
   -> User types the SSL Key
   -> User types the SSL Cert
   -> User types origin WITH https
   -> User clicks Add origin
   -> User clicks OK in the modify publishe dialog

RESULT:
  Origin added succesfully

------------------------
SCENARIO 2
------------------------
SYSTEM CONFIGURATION:
      Configured publishers:
        INSECURE (non ssl)

      Origins for the SECURE:
        http://origin1

USER ACTION:
  User adding another origin NOT SECURE with SSL Key/Cert specified
   -> User types the SSL Key
   -> User types the SSL Cert
   -> User types origin WITHOUT https

RESULT:
  Origin can not be added (Add button disabled)


------------------------
SCENARIO 3
------------------------
SYSTEM CONFIGURATION:
      Configured publishers:
        SECURE (ssl)

      Origins for the SECURE:
        https://origin1

USER ACTION:
  User adding another origin NOT SECURE with SSL Key/Cert specified
   -> User types the SSL Key
   -> User types the SSL Cert
   -> User types origin WITHOUT https

RESULT:
  Origin can not be added (Add button disabled)

------------------------
SCENARIO 4
------------------------
SYSTEM CONFIGURATION:
      Configured publishers:
        SECURE (ssl)

      Origins for the SECURE:
        https://origin1

USER ACTION:
  User adding another origin SECURE.
   -> User types origin WITH https
   -> User clicks Add origin
   -> User clicks OK in the modify publishe dialog

RESULT:
  Origin added succesfully


If you think that those are correct, I will close the bug 13173.

--
best
Michal Pryc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to