The following topics describe classes used by the checkPassword method of JAscAuth to return information.
The checkPassword method of JAscAuth optionally returns a JAscUser object with information about the user being authenticated.
public JAscUser()
public JAscLoginRestrict login |
Contains the user's login disabled flag |
public JAscPassRestrict pass |
Contains the user's password expiration information |
The checkPassword method of JAscAuth optionally returns a JAscUser object with information about the user being authenticated. One of the fields in JAscUser is a JAscLoginRestrict object, which contains the user's login disabled flag.
public JAscLoginRestrict()
public int disabled |
The user's login disabled flag |
public int getDisabled() |
Returns the user's login disabled flag |
The checkPassword method of JAscAuth optionally returns a JAscUser object with information about the user being authenticated. One of the fields in JAscUser is a JAscPassRestrict object, which contains password expiration information.
public JAscPassRestrict()
public long interval |
The password change interval in seconds (or -1 if the password does not expire) |
public long expire |
The number of seconds until the password expires (or -1 if the password does not expire) |
public long getInterval() |
Returns the password change interval in seconds (or -1 if the password does not expire) |
public long getExpire() |
Returns the number of seconds until the password expires (or -1 if the password does not expire) |