public static class StatusResult.Builder extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StatusResult |
build()
Builds a new AuthenticationResult.
|
StatusResult.Builder |
setDiagnosticMessage(java.lang.String diagnosticMessage)
Specifies the message that will be only be included in the trace log
for diagnostic purposes.
|
StatusResult.Builder |
setResponseParams(java.lang.String responseParams)
Specifies the JSON object specifying the parameters to return that may be
used to initiate the authentication process.
|
public Builder()
public StatusResult.Builder setResponseParams(java.lang.String responseParams)
Since this response is visible to the client in a potentially unauthenticated context, the authenticator should not expose any sensitive user or server information in the response.
responseParams
- The parameters to return.public StatusResult.Builder setDiagnosticMessage(java.lang.String diagnosticMessage)
diagnosticMessage
- The diagnostic messagepublic StatusResult build()