How do you disable a user? I for one add a boolean column (named active) on the 
table where the users reside. Then I edit the query in shiro.ini as I've stated 
before. 

Mohica Jasha <[email protected]> wrote:

>Hi Paulo,
>
>
>What does "active=true" do? Can you please be more elaborate on that? Is there 
>any manual describing that?
>
>
>Thanks
>
>Mohica
>
>
>On Thu, Nov 1, 2012 at 3:53 PM, Paulo Pires <[email protected]> wrote:
>
>Change your query in shiro.ini and add something like "and active=true" 
>
>
>Mohica Jasha <[email protected]> wrote:
>
>Hey, 
>
>
>we have a user-management system which manages all the users and their data. 
>Through it we can disable or enable a user.
>
>If a user is disabled, we want to not allow the user to log in anymore, and in 
>addition to that we want to check if the user is already logged in and if 
>that's the case invalidate the user's session.
>
>
>My question is knowing only the user principals (userid, name, etc, but not 
>the sessionId) how can invalidate the user's session?
>
>
>Thanks,
>
>Mohica
>
>

Reply via email to