[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
Your xml is incorrect. It should be: | | | | java:/OpenBroadDB | SELECT password FROM usertable WHERE username=? | SELECT role, 'Roles' FROM userroles WHERE username=? | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829832#3829832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829832 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
"[EMAIL PROTECTED]" wrote : Your xml is incorrect. ... Thank you adrian. It works now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829847#3829847 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829847 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
"billen" wrote : Are you sure about that? JAAS is Java Authentication and Authorization Service and does not IMHO have anything to do with the datasource file. Bah! I meant "java:jdbc/OpenbroadDS" jdbc not jaas (this alphabet soup of Sun's keeps confusing me) Sorry about that. At any rate the value in should match the value in your datasource definition. The will need "java:" prepended to whatever value is in the tag of your xxx-ds.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829827#3829827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829827 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
"Essington" wrote : first thing, the dsJndiName doesn't look quite right. it should be |java:jaas/something | in your case, maybe |java:jaas/OpenbroadDS | | or whatever is in your openbroad-ds.xml file in the tag. Are you sure about that? JAAS is Java Authentication and Authorization Service and does not IMHO have anything to do with the datasource file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829769#3829769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829769 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
"fheldt" wrote : Does your webservice.xml contain lines like the following? Yes the web-service.xml file that is generated by XDoclet look like this: | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829767#3829767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829767 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
first thing, the dsJndiName doesn't look quite right. it should be java:jaas/something in your case, maybe java:jaas/OpenbroadDS or whatever is in your openbroad-ds.xml file in the tag. you might also check for any other s that have a DatabaseServerLoginModule in them that may be misconfigured. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829674#3829674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829674 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
Yes, i meant xdoclet, sorry for confusion. Does your webservice.xml contain lines like the following? | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829657#3829657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829657 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
"fheldt" wrote : Do you use ant? | | Then putting | | * @jboss-net.authentication | * domain="openbroad" | * validate-unauthenticated-calls="true" | * | * @jboss-net.authorization | * domain="openbroad" | | in your (Webservice) Session Bean should do the job, which means it puts the corresponding entry in webservice.xml I guess you mean XDoclet? Yes I do it that way. I do it the way you can see at the link in my first post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829562#3829562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829562 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
Do you use ant? Then putting * @jboss-net.authentication * domain="openbroad" * validate-unauthenticated-calls="true" * * @jboss-net.authorization * domain="openbroad" in your (Webservice) Session Bean should do the job, which means it puts the corresponding entry in webservice.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829458#3829458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829458 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
Hello and thank you for your reply It didn't work and I still get the same error message. Should I post some of the code, so you can check if it is correct? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829416#3829416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829416 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM
Does the application policy "other" also have a DatabaseServerLoginModule configured to use the defaultDS? It looks like maybe the AxisServlet (jboss-net.war) is trying to authenticate the HTTP request against that. Have you set the security domain for JBoss.Net? It is in the jboss-net.sar/jboss-net.war/WEB-INF/jboss-web.xml By default it is set to use "other" you could to set it to: java:/jaas/openbroad And maybe clear up your problem. I have tried my JBoss.Net application (which uses the DatabaseServerLoginModule) on JBoss 4.0DR3 and it seemed to work o.k. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829243#3829243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829243 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user