[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsas-java-dev
Subject:    Re: [Dev] Issues with Role Based Adaptive Authentication example
From:       Isura Karunaratne <isura () wso2 ! com>
Date:       2019-07-31 10:24:09
Message-ID: CAO6_PMnmYCaA8kfmCZ-dO=8tfK1UL4jKcn5LybG7YB7NW4Ax6Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Sherene, Yvonne,

In order to fix [1], we need to update the document [2].  It is required to
add the following configuration in
<IS_HOME>/repository/resources/conf/templates/repository/conf/identity.xml.j2
as instructed in [1].

*<Resource context="/sample-auth(.*)" secured="false" http-method="all"/>*

Please update the [2] by adding a new step.

Cheers,
Isura.

[1] https://github.com/wso2/product-is/issues/6023
[2]
https://docs.wso2.com/display/IS580/Configuring+a+Service+Provider+for+Adaptive+Authen \
tication#ConfiguringaServiceProviderforAdaptiveAuthentication-Step01:SetUptheSamples

On Tue, Jul 30, 2019 at 2:57 PM Darshana Gunawardana <darshana@wso2.com>
wrote:

> [Looping Isura]
> 
> 
> On Tue, Jul 30, 2019 at 2:55 PM Darshana Gunawardana <darshana@wso2.com>
> wrote:
> 
> > Hi Gayashan,
> > 
> > Please see my comments below.
> > 
> > On Tue, Jul 30, 2019 at 2:23 PM Gayashan Bombuwala <gayashanb@wso2.com>
> > wrote:
> > 
> > > Hi All,
> > > 
> > > I came across the following issues when trying out the Role Based
> > > Adaptive Authentication example
> > > <https://docs.wso2.com/display/IS580/Configuring+Role-Based+Adaptive+Authentication>
> > >                 
> > > .
> > > 
> > > 
> > > 1. #6022 <https://github.com/wso2/product-is/issues/6022> -
> > > UsernameJavaScriptRegEx property configuration in usr-mgt.xml has been
> > > changed.
> > > 
> > > We have to fix in the default config to avoid any configuration changes
> > during the guide.
> > 
> > > 
> > > 1.
> > > 2. #6023 <https://github.com/wso2/product-is/issues/6023> -
> > > Unauthorized error while following the "Role Based Adaptive Authentication"
> > > example.
> > > 
> > > This has to capture in docs.
> > 
> > Thanks,
> > 
> > > 
> > > 1.
> > > 
> > > 
> > > Best Regards
> > > 
> > > --
> > > *Gayashan Bombuwala*
> > > Software Engineer | WSO2
> > > 
> > > Email: gayashanb@wso2.com
> > > Phone: +94770548334
> > > 
> > > [image: https://wso2.com/signature] <https://wso2.com/signature>
> > > 
> > 
> > 
> > --
> > Regards,
> > 
> > 
> > *Darshana Gunawardana*Technical Lead
> > WSO2 Inc.; http://wso2.com
> > 
> > *E-mail: darshana@wso2.com <darshana@wso2.com>*
> > *Mobile: +94718566859*Lean . Enterprise . Middleware
> > 
> 
> 
> --
> Regards,
> 
> 
> *Darshana Gunawardana*Technical Lead
> WSO2 Inc.; http://wso2.com
> 
> *E-mail: darshana@wso2.com <darshana@wso2.com>*
> *Mobile: +94718566859*Lean . Enterprise . Middleware
> 


-- 

*Isura Dilhara Karunaratne*
Technical Lead | WSO2 <http://wso2.com/>
*lean.enterprise.middleware*
Email: isura@wso2.com
Mob : +94 772 254 810
Blog : https://medium.com/@isurakarunaratne


[Attachment #5 (text/html)]

<div dir="ltr">Hi Sherene, Yvonne,<div><br></div><div>In order to fix  [1], we need \
to update the document [2].   It is required to add the following configuration in \
&lt;IS_HOME&gt;/repository/resources/conf/templates/repository/conf/identity.xml.j2 \
as instructed in [1].<br><br><b>&lt;Resource context=&quot;/sample-auth(.*)&quot; \
secured=&quot;false&quot; \
http-method=&quot;all&quot;/&gt;</b></div><div><b><br></b></div><div>Please update \
the [2] by adding a new step.</div><div><br></div><div>Cheers,</div><div>Isura.  \
</div><div><br></div><div>[1]  <a \
href="https://github.com/wso2/product-is/issues/6023">https://github.com/wso2/product-is/issues/6023</a></div><div>[2] \
<a href="https://docs.wso2.com/display/IS580/Configuring+a+Service+Provider+for+Adapti \
ve+Authentication#ConfiguringaServiceProviderforAdaptiveAuthentication-Step01:SetUpthe \
Samples">https://docs.wso2.com/display/IS580/Configuring+a+Service+Provider+for+Adapti \
ve+Authentication#ConfiguringaServiceProviderforAdaptiveAuthentication-Step01:SetUptheSamples</a></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 30, 2019 at 2:57 PM \
Darshana Gunawardana &lt;<a href="mailto:darshana@wso2.com">darshana@wso2.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr">[Looping Isura]</div><div dir="ltr"><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 30, 2019 at 2:55 PM \
Darshana Gunawardana &lt;<a href="mailto:darshana@wso2.com" \
target="_blank">darshana@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi \
Gayashan,<div><br></div><div>Please see my comments below.</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 30, 2019 at 2:23 PM \
Gayashan Bombuwala &lt;<a href="mailto:gayashanb@wso2.com" \
target="_blank">gayashanb@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi \
All,<div><br></div><div>I came across the following issues when trying out the  Role \
Based Adaptive Authentication  <a \
href="https://docs.wso2.com/display/IS580/Configuring+Role-Based+Adaptive+Authentication" \
target="_blank">example</a>.</div><div><br></div><div><ol><li \
style="margin-left:15px"><a href="https://github.com/wso2/product-is/issues/6022" \
target="_blank">#6022</a>  - UsernameJavaScriptRegEx property configuration in \
usr-mgt.xml has been changed.</li></ol></div></div></div></blockquote><div>We have to \
fix in the default config to avoid any configuration changes during the guide.  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><ol><li \
style="margin-left:15px"></li><li style="margin-left:15px"><a \
href="https://github.com/wso2/product-is/issues/6023" target="_blank">#6023</a>  - \
Unauthorized error while following the &quot;Role Based Adaptive Authentication&quot; \
example.<br></li></ol></div></div></div></blockquote><div>This has to capture in \
docs.</div><div><br></div><div>Thanks,    </div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><ol><li \
style="margin-left:15px"></li></ol></div><div><br clear="all"><div>Best \
Regards</div></div><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_6289062018922646578gmail-m_-6657710485891693767gmail-m_-3499714832871689186gmail-m_-3937377499079222471gmail_signature"><div \
dir="ltr"><b style="color:rgb(136,136,136)">Gayashan Bombuwala</b><div \
style="color:rgb(136,136,136)">Software Engineer | WSO2</div><div \
style="color:rgb(136,136,136)"><br></div><div style="color:rgb(136,136,136)">Email:  \
<a href="mailto:gayashanb@wso2.com" target="_blank">gayashanb@wso2.com</a></div><div \
style="color:rgb(136,136,136)">Phone: +94770548334</div><div \
style="color:rgb(136,136,136)"><br></div><div style="color:rgb(136,136,136)"><a \
href="https://wso2.com/signature" style="color:rgb(17,85,204)" target="_blank"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" \
alt="https://wso2.com/signature"></a></div></div></div></div></div> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_6289062018922646578gmail-m_-6657710485891693767gmail-m_-3499714832871689186gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font \
face="georgia, serif">Regards,</font><div><font face="georgia, \
serif"><br></font><div><font face="georgia, serif"><font><b><div><b><font \
size="2">Darshana Gunawardana</font></b><br></div></b></font><span \
style="color:rgb(51,51,51)"><font size="2">Technical \
Lead</font></span></font></div><div><font face="georgia, serif"><font size="1"><span \
style="color:rgb(51,51,51)">WSO2 Inc.;  <a href="http://wso2.com" \
target="_blank">http://wso2.com</a></span><i style="color:rgb(51,51,51)"><br>E-mail: \
<a href="mailto:darshana@wso2.com" \
target="_blank">darshana@wso2.com</a><br></i></font><i \
style="color:rgb(51,51,51)"><font size="1">Mobile:  +94718566859</font><br></i><span \
style="color:rgb(51,51,51)"><font size="1">Lean . Enterprise . \
Middleware</font></span></font><br></div></div></div></div></div></div></div></div></div></div></div>
 </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_6289062018922646578gmail-m_-6657710485891693767gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font \
face="georgia, serif">Regards,</font><div><font face="georgia, \
serif"><br></font><div><font face="georgia, serif"><font><b><div><b><font \
size="2">Darshana Gunawardana</font></b><br></div></b></font><span \
style="color:rgb(51,51,51)"><font size="2">Technical \
Lead</font></span></font></div><div><font face="georgia, serif"><font size="1"><span \
style="color:rgb(51,51,51)">WSO2 Inc.;  <a href="http://wso2.com" \
target="_blank">http://wso2.com</a></span><i style="color:rgb(51,51,51)"><br>E-mail: \
<a href="mailto:darshana@wso2.com" \
target="_blank">darshana@wso2.com</a><br></i></font><i \
style="color:rgb(51,51,51)"><font size="1">Mobile:  +94718566859</font><br></i><span \
style="color:rgb(51,51,51)"><font size="1">Lean . Enterprise . \
Middleware</font></span></font><br></div></div></div></div></div></div></div></div></div></div>
 </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div><b>Isura Dilhara Karunaratne<br></b></div><font \
color="#666666"><font style="background-color:rgb(255,255,255)">Technical Lead | <a \
href="http://wso2.com/" target="_blank">WSO2</a></font></font><span \
style="color:rgb(136,136,136);font-family:arial;font-size:small">  \
</span></div><div><b \
style="color:rgb(136,136,136);font-family:arial;font-size:small"><font \
color="#666666">lean.enterprise.middleware</font></b><font color="#666666"><font \
style="background-color:rgb(255,255,255)"><br></font></font></div><div><div dir="ltr" \
style="font-size:12.8px"><div><font color="#666666">Email:  <a \
href="mailto:isura@wso2.com" target="_blank">isura@wso2.com</a></font></div><font \
color="#666666">Mob : +94 772 254 810</font></div><div dir="ltr" \
style="font-size:12.8px"><font color="#666666">Blog :  </font><a \
href="https://medium.com/@isurakarunaratne" style="font-size:small" \
target="_blank">https://medium.com/@isurakarunaratne</a></div><div dir="ltr" \
style="font-size:12.8px"><br></div><font \
color="#666666"><br></font></div><div><br></div></div></div></div></div></div></div></ \
div></div></div></div></div></div></div></div></div></div></div></div></div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic