Menu

#37 Cannot persist user with no-default subject template

v0.80 final
open
nobody
5
2006-11-14
2006-11-14
No

When try to persist a user using a no-default subject
template get a Authentication Exception. The exception
message refer to identity credential not found. But
debugging the code with eclipse I find that one
NullPointerexception cause this wrong behavior.

The
AbstractAuthenticationManager.extractIdentityCredentialFromUser
method try to verifiy if the user has a different
identity crendential of the subject template
credential. The problem is that the method use one
local subject template that seems to be the default
subject template. A NullPointerException is raised.

I changed my subject template name to default and get
the code working.

Discussion


Log in to post a comment.