public class CustomWebAuthenticatorException extends CustomAuthenticatorException
CustomWebAuthenticator
. Differs from the base class in that it can
take extra information that determines the options the user will have on the error page.Constructor and Description |
---|
CustomWebAuthenticatorException(java.lang.String message)
Constructs a new instance with the specified detail message.
|
CustomWebAuthenticatorException(java.lang.String message,
java.lang.String providerName,
java.lang.String targetUrl)
Constructs a new instance with the specified detail message, provider name and target URL.
|
CustomWebAuthenticatorException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new instance with the specified detail message and cause.
|
CustomWebAuthenticatorException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String providerName,
java.lang.String targetUrl)
Constructs a new instance with the specified detail message, cause, provider name and target URL.
|
public CustomWebAuthenticatorException(java.lang.String message)
If possible use CustomWebAuthenticatorException.CustomWebAuthenticatorException(String, String, String)
instead.
message
- the detail messagepublic CustomWebAuthenticatorException(java.lang.String message, java.lang.String providerName, java.lang.String targetUrl)
CustomWebAuthenticator.getAuthenticationEndpoint(java.util.Map, String, String)
) - if given these will be
used to give the user the option to retry the authentication (using the same provider).message
- the detail messageproviderName
- the name of the originally selected provider, or null
targetUrl
- the URL of the resource the user originally tried to access, or null
public CustomWebAuthenticatorException(java.lang.String message, java.lang.Throwable cause)
If possible use CustomWebAuthenticatorException.CustomWebAuthenticatorException(String, Throwable, String, String)
instead.
message
- the detail messagecause
- the causepublic CustomWebAuthenticatorException(java.lang.String message, java.lang.Throwable cause, java.lang.String providerName, java.lang.String targetUrl)
CustomWebAuthenticator.getAuthenticationEndpoint(java.util.Map, String, String)
) - if given
these will be used to give the user the option to retry the authentication (using the same provider).message
- the detail messagecause
- the causeproviderName
- the name of the originally selected provider, or null
targetUrl
- the URL of the resource the user originally tried to access, or null
Copyright © 2000-2020 TIBCO Software Inc. All Rights Reserved.