portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-502) cannot disable user
Date Thu, 07 Jun 2007 14:56:26 GMT

     [ https://issues.apache.org/jira/browse/JS2-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ate Douma resolved JS2-502.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1

This was indeed a bug which I fixed, but note that Jetspeed currently doesn't make use of
the enabled flag of Principals.
See still pending issue JS2-27 for that.

> cannot disable user
> -------------------
>
>                 Key: JS2-502
>                 URL: https://issues.apache.org/jira/browse/JS2-502
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 2.0-FINAL
>         Environment: any
>            Reporter: Jacek Wi?licki
>            Assignee: Ate Douma
>             Fix For: 2.1.1
>
>
> DefaultUserSecurityHandler throws "user ... doesn't exist" security exception when I
try to set a user disabled (setUserEnabled(String, boolean) method of UserManager). The problem
is in checking if the user principal is enabled in line 112:
> if ( null != internalUser && internalUser.isEnabled() != userPrincipal.isEnabled()
)
> I guess.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message