[JBoss Portal] - Re: Configuring external SSO solution (LDAP)
by NM-156
Thanks for replying, Boleslaw. I was doing some research based on the link that you provided. I was looking at this page:
http://wiki.jboss.org/wiki/Wiki.jsp?page=LoginModule
and also, the associated link "Creating a custom login module".
The custom SSO utility classes that I would like to reuse do the following:
1. Authenticate against the LDAP server
2. Retrieve application specific roles from the database
So can you tell me: Will I be able to extend one of the LoginModule classes that are listed in the link above and then configure my new class in /conf/login-config.xml? If I am conceptualizing what needs to be done correctly, I need to configure my own login module class whose implementation will more or less function like a hybrid. That is, one set of custom SSO utility classes will take user credentials and authenticate against the LDAP server. Once authentication is successful, I will use another set of custom classes to query the roles from the database.
Can I entend one of the existing LoginModule classes to accomplish this? Which methods would I have to override in the LoginModule class in order to plug in the authentication/role retrieval logic?
Thanks so much.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083026#4083026
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083026
18 years, 7 months
[JBossWS] - Re: JBoss wstool generate incorrect WSDL file
by mendaye
Thanks Richard for your answers. It is very helpful.
I wanted to make sure I am not running into any interoperablility isse using jaxws stack (2.0.x) with java collecion class. Can someone answer my question below.
1. If I use Java Collections object in my web service that will be JBoss jaxws stack (2.0.x) compliant, am I running to any interoperability issue for .NET consumer. I wanted to make sure these web services can be consumed by .NET client. I am exposing existing Stateless EJB as service end-point and it is not easy to replace Java Collections object.
2. I have requirement - only authorized users can consume these web services. Does JBossWS 2.0.x provide user authentication mechanism to do this? If so how?
3. If #2 (Web service consumer authentication) is possible, can you point me document that has examples on this.
Thanks,
Surafel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083018#4083018
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083018
18 years, 7 months
[JBoss Tools (users)] - Why
by ova
Hello,
I develop currently an JSF application. My web.xml has an entry
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/faces-config.xml
</param-value>
</context-param>
I get an error in the Red Hat Developer Studio:
================================================
error: Attribute param-value references to /WEB-INF/faces-config.xml that is not a valid faces config file
================================================
But what is wrong ? The file faces-config.xml is valid and begins with
<?xml version="1.0"?>
<!DOCTYPE faces-config SYSTEM "web-facesconfig_1_1.dtd">
<faces-config>
The DTD-Definition web-facesconfig_1_1.dtd is located in the same folder (under WEB-INF).
Thanks in advance
Oleg.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083014#4083014
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083014
18 years, 7 months
[JBoss Tools (users)] - to Max--why JBoss tools(Seam module) does not work
by ybxiang.wolf
Max:
I do love RHDS,
but in
"JBoss.com -> Red Hat Developer Studio -> Red Hat Developer Studio Users",
there is a topic "Deploying a SEAM EAR application.[http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117..." in which you said "EAR proper and exploded deployment is one of the things we are working on right now. It did not make for beta1 - sorry."
Today, i found a topic "Project facet EAR 5.0 is not supported by target runtime JBo[http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118138]", in which amitiv said "This was an
old bug that is fixed now in the nightly builds of jboss tools".
i was really happy to know the bug was fixed.
So i tried latest JBoss tool[http://download.jboss.org/jbosstools/builds/nightly/200709100812-nig...
But there is no "EAR/WAR" select box at all!!!
And at the last step of Creating Seam Project, one error"Failed while installing Seam Facet1.2" poped out.
Max, does JBOssTool support creating Seam Project and deployng it as an ear file???
My platform:
Ubuntu 7.0.4
JDK1.5.12
ECLIPSE-EUROPA3.3
SEAM2.0.0
Steps of create SeamProject:
1)new->project->Seam->Seam web Project
2)set project name and JBossAS, JRE.
3)In all UI, i do not find "EAR,WAR" selectBox!!!
4)In the last step, i got an error "Failed while installing Seam Facet 1.2".
I do love Seam and hope RHDS or JBossTools support Seam perfectly!!!
I cann't wait any longer!!!
I know NetBeans support Seam well, but NetBeans crush frequently!
Why??? Does this mean that i still CANN'T deploy Seam Project as an exploded-ear file???
Why??? Does this mean that i still CANN'T deploy Seam Project as an exploded-ear file???
Why??? Does this mean that i still CANN'T deploy Seam Project as an exploded-ear file???
Max, give a reply, please!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083007#4083007
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083007
18 years, 7 months
[JBoss Seam] - cannot start with Seam and JSF and Facelets, that is no EJB
by mario_lanza
Hi all,
There seem to be quite some tutorials around to start with Seam and EJB3, with JSP and all that which is supposed to be not essential for using Seam. Much less info without those. No wonder I can't get a simple web application up and running to save my life...
I had an Eclipse 3.2.2 with a trivial web project: a backing session bean displaying text with a facelet. Running fine as such, no Seam yet.
Then I installed the Seam plugin 2.0.0.beta1 with the Eclipse Update (as you probably noticed Eclipse 3.3 cannot install the Seam plugins because of dependencies on 3.2.0), and I put annotations to my backing bean the way the IBM tutorial says (Seamless JSF series, see http://www.ibm.com/developerworks/java/library/j-seam1/index.html). I also edited accordingly facelets-config.xml and web.xml, and aded seam.properties. I also added the seam jars in the lib.
Yay, now I cannot even start the application: some annotations are not found (java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy, but it won't say which annotation is not found). Playing with the versions of the libraries (myfaces, jsf, whatnot) seems to influence the amount of errors, but I couldn't find a working combination of them.
Then I even downloaded the sample project from the site, which doesn't work either (NoClassDefFoundError without saying WHICH class, again). True, that one was based on Seam 1.1.6, but as it downloaded with Maven all its dependencies I was somehow expecting it to find its stuff around.
I know tutorials are not really your problem, however, can anybody suggest me a startup project, a tutorial, or whatever, which DOES work and doesn't require Application Servers???? I know I could have dumped here all the config files and libraries versions, but I thought I can sort it out by myself...
Many thanks in advance,
M
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083006#4083006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083006
18 years, 7 months