exception in jGuardExample
Status: Beta
Brought to you by:
diabolo512
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
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.