Skip to content

Deal with inactive or frozen account #204

Description

@shenhf

Is there any solution to deal with inactive accounts at casserver side?

Activity

  1. mitfik commented on Mar 12, 2014

    @mitfik

    It depends on what exactly are you asking for.
    If you are asking about authenticators, if they can deal with additional conditions then it is up to that particular authenticator.
    For example in ldap authenticator you have that possibility to define filter like: filter: (active=yes) which will check additional if the field active is set to yes.

    If you are asking about sending proper error message (no matter what authenticator you will use) to the user that the credential are good but your account is not active then no, CAS do not have support for that.

  2. added this to the rubycas 2.0 milestone on Mar 12, 2014
  3. shenhf commented on Mar 13, 2014

    @shenhf
    Author

    Finally I hacked casserver/lib/casserver/authenticators/sql_bcrypt.rb, hard coded matching_users method. It stopped inactive user login, as you said, not sending proper error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions