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

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

Hello,



I have this simple problem.



I have a custom LoginModule and described as follows in a conf file as follows



JdbcLogin {

        de.coryx.cps.security.jdbc.JdbcLoginModule required

        jndiName = "java:/CpsJdbcDs"

        tableName = "CPT_USER"

        userColumnName = "CPT_USER"

        passwordColumnName = "PWD";

};



and the client authentication part is 



public static void main(String[] arg) throws Exception {

try {

        LoginContext lc = new LoginContext("srp-client", new PropCallbackHandler());

        lc.login();

} catch(LoginException e) {

        e.printStackTrace();

        System.out.println("error1 :" + e);

}

}



I get this exception



java:/CpsJdbcDs not bound.



How do i make the class "de.coryx.cps.security.jdbc.JdbcLoginModule" available to the 
server?Do I have to make a jar file and drop in the deploy directory?



Thanks

Aravind










-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to