Hi Yumani, On Thu, May 17, 2012 at 8:26 AM, Yumani Ranaweera <[email protected]> wrote:
> Relevant JIRA ticket is here - https://wso2.org/jira/browse/CARBON-13106 Please do test it back and resolve the jira. I didn't resolve since there could be more issue since that is a new feature. > > Thanks, > Yumani > > On Wed, May 16, 2012 at 1:44 PM, Nuwan Bandara <[email protected]> wrote: > >> Correction, its now fixed >> >> >> On Wed, May 16, 2012 at 1:15 PM, Nuwan Bandara <[email protected]> wrote: >> >>> yeah, there was a issue in Carbon core, which is not fixed by SupunM, if >>> you take an update of carbon.tomcat.ext should be fine >>> >>> >>> On Wed, May 16, 2012 at 1:13 PM, Srinath Perera <[email protected]>wrote: >>> >>>> I added following as the jaggey.conf file >>>> >>>> { >>>> "displayName":"Jaggery Documentation", >>>> "welcomeFiles":["index.jag", "index.html"], >>>> "errorPages":[ >>>> { >>>> "errorCode":"404", >>>> "location":"/404.jag" >>>> } >>>> ], >>>> "securityConstraints":[ >>>> { >>>> "securityConstraint":{ >>>> "webResourceCollection":{ >>>> "name":"foo", >>>> "urlPatterns":["/*"], >>>> "methods":["GET", "POST", "PUT", "DELETE"] >>>> }, >>>> "authRoles":["admin"] >>>> } >>>> } >>>> ], >>>> "loginConfig":{ >>>> "authMethod":"BASIC" >>>> }, >>>> "securityRoles":["admin", "everyone"] >>>> >>>> } >>>> >>>> When I tried to access, it asked for the password, but then threw >>>> following exception. (I am using M4) >>>> >>>> java.lang.NullPointerException >>>> >>>> org.wso2.carbon.tomcat.ext.realms.CarbonTomcatRealm.checkSaasAccess(CarbonTomcatRealm.java:134) >>>> >>>> org.wso2.carbon.tomcat.ext.realms.CarbonTomcatRealm.authenticate(CarbonTomcatRealm.java:92) >>>> >>>> org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:158) >>>> >>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544) >>>> >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) >>>> >>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:109) >>>> >>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:155) >>>> >>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) >>>> >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>>> >>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) >>>> >>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) >>>> >>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620) >>>> >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>>> >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>>> java.lang.Thread.run(Thread.java:680) >>>> >>>> ** >>>> >>>> Any idea what happend? >>>> >>>> --Srinath >>>> >>>> On Wed, May 16, 2012 at 12:40 PM, Nuwan Bandara <[email protected]> wrote: >>>> >>>>> Hi Srinath, >>>>> >>>>> Right now we have provided securing based on basic-auth. this can be >>>>> done using the jaggery.conf. its documented in the Jaggery docs >>>>> >>>>> >>>>> Regards, >>>>> /Nuwan >>>>> >>>>> On Wed, May 16, 2012 at 12:37 PM, Srinath Perera <[email protected]>wrote: >>>>> >>>>>> What is the right way to do this? >>>>>> >>>>>> Since it is a servelt .. I guess we can do this same as webapps >>>>>> >>>>>> May be we should support this configurations through UI. >>>>>> >>>>>> --Srinath >>>>>> >>>>>> -- >>>>>> ============================ >>>>>> Srinath Perera, Ph.D. >>>>>> Senior Software Architect, WSO2 Inc. >>>>>> Visiting Faculty, University of Moratuwa >>>>>> Member, Apache Software Foundation >>>>>> Research Scientist, Lanka Software Foundation >>>>>> Blog: http://srinathsview.blogspot.com/ >>>>>> Photos: http://www.flickr.com/photos/hemapani/ >>>>>> Phone: 0772360902 >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Thanks & Regards, >>>>> >>>>> Nuwan Bandara >>>>> Associate Technical Lead & Member, MC, Development Technologies >>>>> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >>>>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 >>>>> 763 9629 >>>>> * >>>>> <http://www.nuwanbando.com/> >>>>> >>>> >>>> >>>> >>>> -- >>>> ============================ >>>> Srinath Perera, Ph.D. >>>> Senior Software Architect, WSO2 Inc. >>>> Visiting Faculty, University of Moratuwa >>>> Member, Apache Software Foundation >>>> Research Scientist, Lanka Software Foundation >>>> Blog: http://srinathsview.blogspot.com/ >>>> Photos: http://www.flickr.com/photos/hemapani/ >>>> Phone: 0772360902 >>>> >>> >>> >>> >>> -- >>> *Thanks & Regards, >>> >>> Nuwan Bandara >>> Associate Technical Lead & Member, MC, Development Technologies >>> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 >>> 9629 >>> * >>> <http://www.nuwanbando.com/> >>> >> >> >> >> -- >> *Thanks & Regards, >> >> Nuwan Bandara >> Associate Technical Lead & Member, MC, Development Technologies >> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 >> 9629 >> * >> <http://www.nuwanbando.com/> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > * > * > * > > Yumani Ranaweera* > Associate Technical Lead - Software Quality Assurance > Member, Management Committee - Code & Development Technologies > WSO2, Inc. > > *Email* : [email protected] > *Cell* : +94 077 7795242 > *Blog* : http://yumani.blogspot.com/ > > lean . enterprise . middleware http://wso2.com > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - [email protected] <[email protected]> mobile - 071 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
