public class ExtAuthResult
extends java.lang.Object
Authenticator
is used for external
authentication, a session id (sid) is returned in case of a
successful authentication. If the requirement is to also return
warnings such as the user is in grace login mode, this class should
be used.Constructor and Description |
---|
ExtAuthResult(java.lang.Object sid)
Constructs an
ExtAuthResult . |
Modifier and Type | Method and Description |
---|---|
boolean |
getGraceLoginMode()
Returns the status of grace login mode.
|
boolean |
getPasswordAboutToExpire()
Returns the status of password about to expire mode.
|
boolean |
getPasswordMustChange()
Returns the status of password must change mode.
|
java.lang.Object |
getSid()
Returns the session id.
|
void |
setGraceLoginMode()
Sets the status of grace login mode to true.
|
void |
setPasswordAboutToExpire()
Sets the status of password about to expire mode to true.
|
void |
setPasswordMustChange()
Sets the status of password must change mode to true.
|
public ExtAuthResult(java.lang.Object sid) throws java.lang.Exception
ExtAuthResult
.sid
- session id.java.lang.Exception
- if sid is nullpublic boolean getGraceLoginMode()
public boolean getPasswordAboutToExpire()
public boolean getPasswordMustChange()
public java.lang.Object getSid()
public void setGraceLoginMode()
public void setPasswordAboutToExpire()
public void setPasswordMustChange()