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

koenhandekyn do-not-reply at jboss.com
Wed Jul 4 09:09:38 EDT 2007

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;

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
        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

More information about the jboss-user mailing list