***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.connection
Class WrongCredentialsException

com.sas.services.connection.WrongCredentialsException
All Implemented Interfaces:
com.sas.util.ChainedExceptionInterface, java.io.Serializable

public class WrongCredentialsException

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:
Serialized Form

Constructor Summary
WrongCredentialsException(java.lang.String msg, Credential badCredential, java.util.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
 java.util.List getSupportedDomains()
           
 
Methods inherited from class com.sas.services.connection.CredentialsException
getDomain, getUserName, isPasswordCredential
 
Methods inherited from class com.sas.services.connection.LoginException
isLoginCallbackError, setLoginCallbackError
 
Methods inherited from class com.sas.services.connection.ConnectionFactoryException
getRootException, getTargetException
 

Constructor Detail

WrongCredentialsException

public WrongCredentialsException(java.lang.String msg,
                                 Credential badCredential,
                                 java.util.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

Parameters:
badCredential - the credential from the wrong authentication domain
supportedDomains - the required authentication domains
msg - a message providing further details about the exception
Method Detail

getSupportedDomains

public java.util.List getSupportedDomains()

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.