[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-07-29 Thread hedinant
Finaly i find my mistake. "CallerPrinciple" is a key View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167248#4167248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167248 ___ j

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-07-28 Thread hedinant
And ... May i not define a new security domain, but reconfigure JBossWS May this be the source of strange SimplePrincipal instead of my own. I wirote a commit method as you example, but still get the SimplePrincipal ... View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-07-28 Thread hedinant
"ragavgomatam" wrote : Nope...Seperate jar file...Put it in the $JBOSS/server/lib directory OR add it to the classpath in the run.sh/run.bat...It picks ity up from there You sure? looks like it pick it from my project ear. Or may it not work as good ? View the original post : http://www.jboss

[jboss-user] [Security & JAAS/JBoss] - Re: Principal lost from my custom LoginModule

2008-07-28 Thread hedinant
you mean it is not good idea to extend UsernamePasswordLoginModule? Ok will try that way View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166866#4166866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166866 _

[jboss-user] [Security & JAAS/JBoss] - Principal lost from my custom LoginModule

2008-07-24 Thread hedinant
Hi all. I want to ask if this a bug, or how to work aroud this. I implemented a custom LoginModule extending UsernamePasswordLoginModule I created my own(smart) instance of principal public class User extends VersionedEntity implements Principal { and instantiated it in login. public bool

[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule

2008-07-24 Thread hedinant
I use the first way in my login module works fine. HttpServletRequest request = null; try { request = (HttpServletRequest) PolicyContext.getContext("javax.servlet.http.HttpServletRequest"); } catch (PolicyContextException e) { e.printStackTrace();

[jboss-user] [JBossWS] - Stateful webservices

2008-06-26 Thread hedinant
Stateful webservices is not yet supported by jboss (4.2.2) Am i right? or how to use them? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160802#4160802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160802

[jboss-user] [JBossWS] - Http filter for WS

2008-06-26 Thread hedinant
Hi all. I deployed a web srvice from my jar and i like to attach a filter from my war (or some ather way) to the servlet endpoint. May i do it? And how to do it, if possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160787#4160787 Reply to the post :