[jboss-user] [JBoss Seam] - Seam Security on Glassfish problem -

ckfh do-not-reply at jboss.com
Sun Feb 4 00:07:39 EST 2007

I followed the documentation to try to build a login function use Seam Security in 1.1.5. I used the following steps:

- add <security:identity authenticate-method="#{authenticator.authenticate}"/> to components.xml

- create a login form like the one in the reference documentation

- create an "Authenticator" class according to the reference doc

However, when I deployed the app in Glassfish, fill in username and password, then click submit, I got the following exception in my server log:

[#|2007-02-04T12:55:48.708+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=42a1ffe4-7572-4b54-b550-99cc35650a41;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
javax.el.PropertyNotFoundException: /login.xhtml @16,74 value="#{identity.username}": Target Unreachable, identifier 'identity' resolved to null
	at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)
	at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:81)

Kindly advice

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

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

More information about the jboss-user mailing list