Package com.ibm.di.api
Class APIAuthenticator.Ret
- java.lang.Object
-
- com.ibm.di.api.APIAuthenticator.Ret
-
- Enclosing class:
- APIAuthenticator
public static class APIAuthenticator.Ret extends java.lang.Object
This class holds the status of the authentication. It is exposed as a script bean by the name "ret". Its public member variables "auth", "errordescr" and "errorcode" could be used in the script by the custom authentication process.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
auth
If this is set to true, it is considered that the provided by the user credentials are authentic.java.lang.Object
errorcode
A general purpose object which string representation will be returned with the thrownAuthenticationException
.java.lang.String
errordescr
The description of the error which will be returned with the thrownAuthenticationException
.
-
Constructor Summary
Constructors Constructor Description Ret()
-
-
-
Field Detail
-
auth
public boolean auth
If this is set to true, it is considered that the provided by the user credentials are authentic. If this is false then the authentication has failed.
-
errordescr
public java.lang.String errordescr
The description of the error which will be returned with the thrownAuthenticationException
.
-
errorcode
public java.lang.Object errorcode
A general purpose object which string representation will be returned with the thrownAuthenticationException
.
-
-