[ 
https://issues.apache.org/jira/browse/KNOX-3192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamás Hanicz reassigned KNOX-3192:
----------------------------------

    Assignee: Tamás Hanicz

> RemoteAuthProvider should support non-ssl url
> ---------------------------------------------
>
>                 Key: KNOX-3192
>                 URL: https://issues.apache.org/jira/browse/KNOX-3192
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Tamás Hanicz
>            Priority: Major
>
> `remote.auth.url` currently needs to be HTTPS if HTTP is used then the 
> following exception is thrown
> {code:java}
> knox Caused by: java.lang.ClassCastException: class 
> sun.net.www.protocol.http.HttpURLConnection cannot be cast to class 
> javax.net.ssl.HttpsURLConnection (sun.n │
> │ knox     at {code}
>  
> This was the configuration used:
> {code:java}
>         <provider>
>                  <role>authentication</role>
>                  <name>RemoteAuthProvider</name>
>                  <enabled>true</enabled>
>                  <param>
>                     <name>remote.auth.url</name>
>                     
> <value>http://www.local.com:8443/gateway/knoxsso/auth/api/v1/pre</value>
>                  </param> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to