[jboss-user] [JBoss Seam] - Re: Generated application does not work

2007-07-04 Thread Jump
Looks like there is a problem in build.xml. There are no .class files in jar

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060494
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Generated application does not work

2007-07-04 Thread Jump
Check my code. It's totally the same as yours

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060460
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Generated application does not work

2007-07-04 Thread koenhandekyn
seems like you are missing a component for authentication. seam gen usualy 
creates a bean like this

package upr;

import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.log.Log;
import org.jboss.seam.security.Identity;


@Name("authenticator")
public class Authenticator
{
@Logger Log log;

@In Identity identity;
   
public boolean authenticate()
{
log.info("authenticating #0", identity.getUsername());
//write your authentication logic here,
//return true if the authentication was
//successful, false otherwise
identity.addRole("admin");
return true;
}
}


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060454
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user