Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4578

CLONE -@UserPrincipal doesn't work when used in variable declaration.

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0.CR1
    • Fix Version/s: None
    • Component/s: Security
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shane.bryzak Shane Bryzak
                Reporter:
                StexX Stephanie Stroka
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: