eclipse shiro ini problem - eclipse

Honestly, before posting question did googling and 2 days tried to solve problem on my own...
I want to get Apache Shiro working with GAE. Before that, I had success with Spring Security, but here I can't do a simple thing: to get the filter find my shiro.ini !
After introducing ShiroFilter in web.xml, in init-param tag I give a value of classpath:shiro.ini for the param-name called configPath, as standard way.
Next, I put shiro.ini in my src root, won't work, then under /web-inf/shiro.ini, again didn't work...
any help please?

Maybe this tutorial of integrtating Shiro with GAE will be useful?

Related

Tuckey library for specific url pattern

I'm facing a problem.my company's website like http://localhost:8080/Product/Pages/Home.jsp
but when tried like http://localhost:8080/Product/Pa/ges/Home.jsp website tries to direct our 404 error page but not a proper way(comes a lot of errors and cant load the page) I guess It is about an apache tomcat bug ---> https://bz.apache.org/bugzilla/show_bug.cgi?id=61634
so, i am trying to implement tuckey library but I cant find a proper way to just let /Product/Pages/foo.jsp pattern.here is tuckey lib explanation --> http://tuckey.org/urlrewrite/manual/3.0/
I hope somebody can help me
I tried this rule and it redirect for old page.I am saying this, I can use this lib.But I cant figure out to which rule is proper for me.
/some/old/page.html
/very/new/page.html

AsteriskNow cannot find ari.conf

I just installed AsteriskNow-6.12.65.14 and I want to try REST API. I've read a lot of tutorials, but I can't find ari.conf in the /etc/asterisk/ folder.
This is my first experience configuring Asterisk so I might just be missing something fundamental.
Asterisk 12
AsteriskNow-6.12.65.14
As far as i know asterisknow not offer experemental features like ARI.
You have create config files yourself if you need it.

how to secure cookies in play framework?

I am facing a cookies problem in my website , I am using Scala with Play Framework 2.2.0.
If user replaces cookies with another user's cookies it works there i want to stop that please give me any solution.I have changed and modify in application.conf file with all security but i did not get any effect in my application.
If there is any type of trick or logic behind it please tell me.
As shown in the documentation it is just a config change https://www.playframework.com/documentation/2.8.x/SettingsSession.
Note: problems with deserialization might occur.

Manipulation of sesame server repositories (owl ontology) in java servlet

I'm trying to connect a web application (eclipse) with my Sesame repository server (sesame 2.6.3) both of them are running in my local machine under the same Apache Tomcat 6.0.29. I found the sesame user guide here : http://www.openrdf.org/doc/sesame2/users/ch08.html#d0e835, the part "8.2.2. Querying a repository" is exactly what i'm hoping to do but the problem that i cant find where do i put the given code.. to more explain my problem: i want to manipulate the ontology from a jsp page (querying the ontology) so when i found the connection code, the querying code, the code for evaluating a tuple query... i didn't know where to put them Please help!
Thank you
Put your code in a JSP. Then, based on the logic in the JSP, the repository will be able to be queried. If you have trouble, post more details about what you are doing and what is going wrong.

GWT + Acegi implementation

I want to implement acegi security authorization in my GWT project.
I am not able to do it properly.
Can any one help thoroughly?
Thanks..
javacodegeeks have a nice tutorial with an example that can be of help. Though it is not complete for instance handling the logout/session timeout, it will give you a quick base where you can start off quickly.