Note that there are some explanatory texts on larger screens.

plurals
  1. POBypass tomcat basic authentication using adobe flex
    primarykey
    data
    text
    <p>I have configured apache tomcat web.xml for basic authentication for specifc address by pasting code below in web.xml</p> <pre><code>&lt;security-constraint&gt; &lt;web-resource-collection&gt; &lt;web-resource-name&gt; Protected Site &lt;/web-resource-name&gt; &lt;!-- This would protect the entire site --&gt; &lt;url-pattern&gt; /Documents/* &lt;/url-pattern&gt; &lt;!-- If you list http methods, only those methods are protected --&gt; &lt;http-method&gt; DELETE &lt;/http-method&gt; &lt;http-method&gt; GET &lt;/http-method&gt; &lt;http-method&gt; POST &lt;/http-method&gt; &lt;http-method&gt; PUT &lt;/http-method&gt; &lt;/web-resource-collection&gt; &lt;auth-constraint&gt; &lt;!-- Roles that have access --&gt; &lt;role-name&gt;role1&lt;/role-name&gt; &lt;/auth-constraint&gt; &lt;/security-constraint&gt; &lt;!-- BASIC authentication --&gt; &lt;login-config&gt; &lt;auth-method&gt; BASIC &lt;/auth-method&gt; &lt;realm-name&gt;Authentication &lt;/realm-name&gt; &lt;/login-config&gt; &lt;!-- Define security roles --&gt; &lt;security-role&gt; &lt;description&gt; Test role &lt;/description&gt; &lt;role-name&gt;role1&lt;/role-name&gt; &lt;/security-role&gt; </code></pre> <p>I got browser basic authentication dialog for getting username and password. and after correct username and password i get authenticated and able to see document otherwise not.</p> <p>Now every thing works fine but "I want to bypass this authentication using Adobe flex programming i.e by giving username N password in flex code, i want that this dialog should not appear and user gets authenticated by code."</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload