Hi ,

I downloadded the sample example.  

it work fine but it is given problem when I want to used my login module for 
authication .
e.g. my page contains the username and password as text fields  and I have a 
method which check the username and password from th jbpm database.

I can share the code 


jsp

<h4>Enter Username and password </h4>
 
        
                <h:outputText value="User Name"/>
                <h:inputText id="userName" value="#{userBean.userName}" 
required="true"/>

                <h:outputText value="Password"/>
                <h:inputText id="passWord" value="#{userBean.passWord}" 
required="true"/>
        
        
        
  
<h:commandButton action="#{userBean.login}" value="Log In" />

bean :

public String login() {
        Authentication.popAuthenticatedActorId();
        Authentication.pushAuthenticatedActorId(userName);
        
        jbpmDataAccessBean dataAccessBean = new jbpmDataAccessBean();
        
        String dbPassword=dataAccessBean.getPassword(passWord.toString());

// doing the check fron the username /password  and sending next jsp /if error 
same page. 
        
           }

sample example display combo box for the  selection of user's.

could anybody give me an idea how to do this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925186#3925186

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925186


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to