cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8201) Add support for auth dialogs into Cordova Android
Date Tue, 13 Jan 2015 20:06:36 GMT

    [ https://issues.apache.org/jira/browse/CB-8201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275839#comment-14275839
] 

ASF GitHub Bot commented on CB-8201:
------------------------------------

Github user sgrebnov commented on a diff in the pull request:

    https://github.com/apache/cordova-android/pull/143#discussion_r22890354
  
    --- Diff: framework/src/org/apache/cordova/HttpAuthRequestHandler.java ---
    @@ -0,0 +1,30 @@
    +/*
    +       Licensed to the Apache Software Foundation (ASF) under one
    +       or more contributor license agreements.  See the NOTICE file
    +       distributed with this work for additional information
    +       regarding copyright ownership.  The ASF licenses this file
    +       to you under the Apache License, Version 2.0 (the
    +       "License"); you may not use this file except in compliance
    +       with the License.  You may obtain a copy of the License at
    +
    +         http://www.apache.org/licenses/LICENSE-2.0
    +
    +       Unless required by applicable law or agreed to in writing,
    +       software distributed under the License is distributed on an
    +       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +       KIND, either express or implied.  See the License for the
    +       specific language governing permissions and limitations
    +       under the License.
    +*/
    +package org.apache.cordova;
    +
    +import android.webkit.HttpAuthHandler;
    +import android.webkit.WebView;
    --- End diff --
    
    Thank you, will be updated!


> Add support for auth dialogs into Cordova Android
> -------------------------------------------------
>
>                 Key: CB-8201
>                 URL: https://issues.apache.org/jira/browse/CB-8201
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: android, authentication
>
> If you load some resource which requires authentication using android default browser
default login dialog appears, but if you try to load the same resource using cordova app then
no dialog is shown for user and request is failed w/ 401 Unauthorized. So Currently apps have
to provide own JS logic to show web based auth dialog.
> It will be great if Cordova Android offers special functionality (in core or via special
interface plugin developers can extend) to automatically show native auth dialog. This is
extremely useful in corpnet scenarios where all resources requires user to be authenticated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message