*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.connection
Class WrongCredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.services.connection.ConnectionFactoryException
com.sas.services.connection.LoginException
com.sas.services.connection.CredentialsException
com.sas.services.connection.WrongCredentialsException
- All Implemented Interfaces:
com.sas.util.ChainedExceptionInterface,Serializable
@SASScope("ALL")
@BinaryCompatibilityOnly
public class WrongCredentialsException
extends CredentialsException
The connection factory throws a wrong credentials exception when a
connection request cannot be granted because the credentials presented
with the connection request were not from an authetication domain
supported by the connection factory.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWrongCredentialsException(String msg, Credential badCredential, List supportedDomains) Construct an exception to be thrown when a connection request cannot be satisfied because the credentials presented were not from an authentication domain supported by the connection factory -
Method Summary
Methods inherited from class com.sas.services.connection.CredentialsException
getDomain, getUserName, isPasswordCredentialMethods inherited from class com.sas.services.connection.LoginException
isLoginCallbackError, setLoginCallbackErrorMethods inherited from class com.sas.services.connection.ConnectionFactoryException
getRootException, getTargetExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
WrongCredentialsException
Construct an exception to be thrown when a connection request cannot be satisfied because the credentials presented were not from an authentication domain supported by the connection factory- Parameters:
msg- a message providing further details about the exceptionbadCredential- the credential from the wrong authentication domainsupportedDomains- the required authentication domains
-
-
Method Details
-
getSupportedDomains
public List getSupportedDomains()
-