]
Stephanie Stroka updated JBSEAM-4578:
-------------------------------------
Component/s: Security
CLONE -@UserPrincipal doesn't work when used in variable
declaration.
---------------------------------------------------------------------
Key: JBSEAM-4578
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4578
Project: Seam
Issue Type: Bug
Components: Security
Affects Versions: 2.2.0.CR1
Reporter: Stephanie Stroka
Assignee: Shane Bryzak
Related to
https://jira.jboss.org/jira/browse/JBSEAM-3556
1) Make this change in class MemberAccount.java into seam-space example
@NotNull @UserPrincipal
private String username;
..........
//@NotNull @UserPrincipal
public String getUsername()
{
return username;
}
2) No explicit error message, but:
When querying the Memberaccount, the reflection on the field username does return null,
even if a username exists. When the annotation is placed on the getter method
(getUsername()), reflection works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: