Re: [Dev] API Manager 2.0.0 - Cannot add SAML inbound authentication config to Service Provider

2017-11-10 Thread Prakhash Sivakumar
Hi Chamila,

This issue is still there on AM 2.1.0 WUM updated pack as well, any plans
of getting this fixed or should I still follow the workaround?

Thanks


On Fri, Oct 21, 2016 at 10:38 AM, Chamila Adhikarinayake 
wrote:

> Hi Tharidu,
> You could use the workaround suggested in [1] .
>
> [1] http://stackoverflow.com/a/34990864/1110305
>
> Chamila
>
> On Wed, Oct 19, 2016 at 10:52 AM, Tharindu Edirisinghe  > wrote:
>
>> Thanks !
>>
>> On Wed, Oct 19, 2016 at 10:45 AM, Abimaran Kugathasan 
>> wrote:
>>
>>> Hi Tharindu,
>>>
>>> Yes, This is a known issue, yet to be fixed. Reported through [1]
>>>
>>> [1] : https://wso2.org/jira/browse/APIMANAGER-4493
>>>
>>> On Wed, Oct 19, 2016 at 10:27 AM, Tharindu Edirisinghe <
>>> tharin...@wso2.com> wrote:
>>>
 Hi Devs,

 I'm using a fresh pack of API Manager 2.0.0 and added a Service
 Provider. It got registered correctly.

 Then I edit the SP and try to add SAML inbound authentication and then
 I get an empty page. Tested this on both Firefox and Chrome and the
 behavior is same.

 Here's the backend error. Is this known issue ? or is there a patch ?


 TID: [-1234] [] [2016-10-19 10:15:36,464] ERROR
 {org.apache.tiles.jsp.context.JspTilesRequestContext} -  JSPException
 while including path '/sso-saml/add_service_provider.jsp'.
 {org.apache.tiles.jsp.context.JspTilesRequestContext}
 javax.servlet.jsp.JspException: ServletException while including page.
 at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
 at org.apache.tiles.jsp.context.JspTilesRequestContext.include(
 JspTilesRequestContext.java:88)
 at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch
 (JspTilesRequestContext.java:82)
 at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesC
 ontainer.java:465)
 at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
 AttributeTag.java:140)
 at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
 AttributeTag.java:117)
 at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderT
 agSupport.java:171)
 at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(
 RoleSecurityTagSupport.java:75)
 at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(Con
 tainerTagSupport.java:80)
 at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_00
 5finsertAttribute_005f7(template_jsp.java:661)
 at org.apache.jsp.admin.layout.template_jsp._jspService(templat
 e_jsp.java:377)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja
 va:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServl
 etWrapper.java:439)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl
 et.java:395)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java
 :339)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.j
 ava:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
 at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se
 rvice(ContextPathServletAdaptor.java:37)
 at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
 n.service(ServletRegistration.java:61)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
 ssAlias(ProxyServlet.java:128)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
 ce(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
 at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
 (DelegationServlet.java:68)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
 lter(ApplicationFilterChain.java:303)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
 licationFilterChain.java:208)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
 r.java:52)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
 lter(ApplicationFilterChain.java:241)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
 licationFilterChain.java:208)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
 ationDispatcher.java:747)
 at org.apache.catalina.core.ApplicationDispatcher.processReques
 t(ApplicationDispatcher.java:485)
 at org.apache.catalina.core.ApplicationDispatcher.doForward(App
 licationDispatcher.java:410)
 at org.apache.catalina.core.ApplicationDispatcher.forward(Appli
 

Re: [Dev] API Manager 2.0.0 - Cannot add SAML inbound authentication config to Service Provider

2016-10-20 Thread Chamila Adhikarinayake
Hi Tharidu,
You could use the workaround suggested in [1] .

[1] http://stackoverflow.com/a/34990864/1110305

Chamila

On Wed, Oct 19, 2016 at 10:52 AM, Tharindu Edirisinghe 
wrote:

> Thanks !
>
> On Wed, Oct 19, 2016 at 10:45 AM, Abimaran Kugathasan 
> wrote:
>
>> Hi Tharindu,
>>
>> Yes, This is a known issue, yet to be fixed. Reported through [1]
>>
>> [1] : https://wso2.org/jira/browse/APIMANAGER-4493
>>
>> On Wed, Oct 19, 2016 at 10:27 AM, Tharindu Edirisinghe <
>> tharin...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> I'm using a fresh pack of API Manager 2.0.0 and added a Service
>>> Provider. It got registered correctly.
>>>
>>> Then I edit the SP and try to add SAML inbound authentication and then I
>>> get an empty page. Tested this on both Firefox and Chrome and the behavior
>>> is same.
>>>
>>> Here's the backend error. Is this known issue ? or is there a patch ?
>>>
>>>
>>> TID: [-1234] [] [2016-10-19 10:15:36,464] ERROR
>>> {org.apache.tiles.jsp.context.JspTilesRequestContext} -  JSPException
>>> while including path '/sso-saml/add_service_provider.jsp'.
>>> {org.apache.tiles.jsp.context.JspTilesRequestContext}
>>> javax.servlet.jsp.JspException: ServletException while including page.
>>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>>> at org.apache.tiles.jsp.context.JspTilesRequestContext.include(
>>> JspTilesRequestContext.java:88)
>>> at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch
>>> (JspTilesRequestContext.java:82)
>>> at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesC
>>> ontainer.java:465)
>>> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
>>> AttributeTag.java:140)
>>> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
>>> AttributeTag.java:117)
>>> at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderT
>>> agSupport.java:171)
>>> at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(
>>> RoleSecurityTagSupport.java:75)
>>> at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(Con
>>> tainerTagSupport.java:80)
>>> at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_00
>>> 5finsertAttribute_005f7(template_jsp.java:661)
>>> at org.apache.jsp.admin.layout.template_jsp._jspService(templat
>>> e_jsp.java:377)
>>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja
>>> va:70)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServl
>>> etWrapper.java:439)
>>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl
>>> et.java:395)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.j
>>> ava:80)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se
>>> rvice(ContextPathServletAdaptor.java:37)
>>> at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>>> n.service(ServletRegistration.java:61)
>>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>>> ssAlias(ProxyServlet.java:128)
>>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>>> ce(ProxyServlet.java:68)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>>> (DelegationServlet.java:68)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:303)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>>> r.java:52)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
>>> ationDispatcher.java:747)
>>> at org.apache.catalina.core.ApplicationDispatcher.processReques
>>> t(ApplicationDispatcher.java:485)
>>> at org.apache.catalina.core.ApplicationDispatcher.doForward(App
>>> licationDispatcher.java:410)
>>> at org.apache.catalina.core.ApplicationDispatcher.forward(Appli
>>> cationDispatcher.java:337)
>>> at org.eclipse.equinox.http.servlet.internal.RequestDispatcherA
>>> daptor.forward(RequestDispatcherAdaptor.java:30)
>>> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$Re
>>> questDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>>> at org.apache.tiles.servlet.context.ServletTilesRequestContext.
>>> 

Re: [Dev] API Manager 2.0.0 - Cannot add SAML inbound authentication config to Service Provider

2016-10-18 Thread Tharindu Edirisinghe
Thanks !

On Wed, Oct 19, 2016 at 10:45 AM, Abimaran Kugathasan 
wrote:

> Hi Tharindu,
>
> Yes, This is a known issue, yet to be fixed. Reported through [1]
>
> [1] : https://wso2.org/jira/browse/APIMANAGER-4493
>
> On Wed, Oct 19, 2016 at 10:27 AM, Tharindu Edirisinghe  > wrote:
>
>> Hi Devs,
>>
>> I'm using a fresh pack of API Manager 2.0.0 and added a Service Provider.
>> It got registered correctly.
>>
>> Then I edit the SP and try to add SAML inbound authentication and then I
>> get an empty page. Tested this on both Firefox and Chrome and the behavior
>> is same.
>>
>> Here's the backend error. Is this known issue ? or is there a patch ?
>>
>>
>> TID: [-1234] [] [2016-10-19 10:15:36,464] ERROR
>> {org.apache.tiles.jsp.context.JspTilesRequestContext} -  JSPException
>> while including path '/sso-saml/add_service_provider.jsp'.
>> {org.apache.tiles.jsp.context.JspTilesRequestContext}
>> javax.servlet.jsp.JspException: ServletException while including page.
>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>> at org.apache.tiles.jsp.context.JspTilesRequestContext.include(
>> JspTilesRequestContext.java:88)
>> at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch
>> (JspTilesRequestContext.java:82)
>> at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesC
>> ontainer.java:465)
>> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
>> AttributeTag.java:140)
>> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
>> AttributeTag.java:117)
>> at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderT
>> agSupport.java:171)
>> at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(
>> RoleSecurityTagSupport.java:75)
>> at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(Con
>> tainerTagSupport.java:80)
>> at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_00
>> 5finsertAttribute_005f7(template_jsp.java:661)
>> at org.apache.jsp.admin.layout.template_jsp._jspService(templat
>> e_jsp.java:377)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServl
>> etWrapper.java:439)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl
>> et.java:395)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.
>> java:80)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se
>> rvice(ContextPathServletAdaptor.java:37)
>> at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>> n.service(ServletRegistration.java:61)
>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>> ssAlias(ProxyServlet.java:128)
>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>> ce(ProxyServlet.java:68)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>> (DelegationServlet.java:68)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:303)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>> r.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
>> ationDispatcher.java:747)
>> at org.apache.catalina.core.ApplicationDispatcher.processReques
>> t(ApplicationDispatcher.java:485)
>> at org.apache.catalina.core.ApplicationDispatcher.doForward(App
>> licationDispatcher.java:410)
>> at org.apache.catalina.core.ApplicationDispatcher.forward(Appli
>> cationDispatcher.java:337)
>> at org.eclipse.equinox.http.servlet.internal.RequestDispatcherA
>> daptor.forward(RequestDispatcherAdaptor.java:30)
>> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$Re
>> questDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>> at org.apache.tiles.servlet.context.ServletTilesRequestContext.
>> forward(ServletTilesRequestContext.java:198)
>> at org.apache.tiles.servlet.context.ServletTilesRequestContext.
>> dispatch(ServletTilesRequestContext.java:185)
>> at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesC
>> ontainer.java:419)
>> at 

Re: [Dev] API Manager 2.0.0 - Cannot add SAML inbound authentication config to Service Provider

2016-10-18 Thread Abimaran Kugathasan
Hi Tharindu,

Yes, This is a known issue, yet to be fixed. Reported through [1]

[1] : https://wso2.org/jira/browse/APIMANAGER-4493

On Wed, Oct 19, 2016 at 10:27 AM, Tharindu Edirisinghe 
wrote:

> Hi Devs,
>
> I'm using a fresh pack of API Manager 2.0.0 and added a Service Provider.
> It got registered correctly.
>
> Then I edit the SP and try to add SAML inbound authentication and then I
> get an empty page. Tested this on both Firefox and Chrome and the behavior
> is same.
>
> Here's the backend error. Is this known issue ? or is there a patch ?
>
>
> TID: [-1234] [] [2016-10-19 10:15:36,464] ERROR
> {org.apache.tiles.jsp.context.JspTilesRequestContext} -  JSPException
> while including path '/sso-saml/add_service_provider.jsp'.
> {org.apache.tiles.jsp.context.JspTilesRequestContext}
> javax.servlet.jsp.JspException: ServletException while including page.
> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
> at org.apache.tiles.jsp.context.JspTilesRequestContext.include(
> JspTilesRequestContext.java:88)
> at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(
> JspTilesRequestContext.java:82)
> at org.apache.tiles.impl.BasicTilesContainer.render(
> BasicTilesContainer.java:465)
> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(
> InsertAttributeTag.java:140)
> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(
> InsertAttributeTag.java:117)
> at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(
> RenderTagSupport.java:171)
> at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(
> RoleSecurityTagSupport.java:75)
> at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(
> ContainerTagSupport.java:80)
> at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_
> 005finsertAttribute_005f7(template_jsp.java:661)
> at org.apache.jsp.admin.layout.template_jsp._jspService(
> template_jsp.java:377)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:439)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:395)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(
> ContextPathServletAdaptor.java:37)
> at org.eclipse.equinox.http.servlet.internal.
> ServletRegistration.service(ServletRegistration.java:61)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.
> processAlias(ProxyServlet.java:128)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.
> service(ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.
> service(DelegationServlet.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(
> WsFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(
> ApplicationDispatcher.java:747)
> at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> ApplicationDispatcher.java:485)
> at org.apache.catalina.core.ApplicationDispatcher.doForward(
> ApplicationDispatcher.java:410)
> at org.apache.catalina.core.ApplicationDispatcher.forward(
> ApplicationDispatcher.java:337)
> at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.
> forward(RequestDispatcherAdaptor.java:30)
> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$
> RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
> at org.apache.tiles.servlet.context.ServletTilesRequestContext.
> forward(ServletTilesRequestContext.java:198)
> at org.apache.tiles.servlet.context.ServletTilesRequestContext.
> dispatch(ServletTilesRequestContext.java:185)
> at org.apache.tiles.impl.BasicTilesContainer.render(
> BasicTilesContainer.java:419)
> at org.apache.tiles.impl.BasicTilesContainer.render(
> BasicTilesContainer.java:370)
> at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
> at org.wso2.carbon.ui.TilesJspServlet.service(
> TilesJspServlet.java:101)
> at