Menu

#22 exception in jGuardExample

closed-fixed
nobody
5
2006-05-26
2006-05-16
maxi
No

In the user screen, in the available principals there
is one principal called "other", this principals are
grabbed from AuthorizationManager, if you add this
principal "other" to the "admin" user raise an
exception, I debugged and I saw that in the
addPrincipals method in UserDispatchAction when we call to
JGuardPrincipal principal = (JGuardPrincipal)
am.getLocalPrincipal(prinNames[i]); (prinNames[i]
instantiated with "other") it returns null, and raise
the exception

chrers
Maxi

Discussion

  • Charles Lescot

    Charles Lescot - 2006-05-26
    • status: open --> closed-fixed
     
  • Charles Lescot

    Charles Lescot - 2006-05-26

    Logged In: YES
    user_id=824172

    hi,
    i've fixed this bug by removing from display roles from
    other applications.
    the management of users across multiple applications will be
    available is not a common feature(often, user assignement
    are isolated from one application to another, or handled
    through a read-only repository managed by administrators),
    but will only require few developemnt.

    cheers,

    Charles.

     

Log in to post a comment.