seccommerce.secauthenticator
Class SecAuthenticatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by seccommerce.secauthenticator.SecAuthenticatorException
All Implemented Interfaces:
java.io.Serializable

public class SecAuthenticatorException
extends java.lang.Exception

SecAuthenticator exception.

Version:
$Id: SecAuthenticatorException.java,v 1.3 2013/04/06 15:03:46 hl Exp $
Author:
SecCommerce Informationssysteme GmbH, Hamburg
See Also:
Serialized Form

Field Summary
static int ERR_CANCELLED_BY_USER
          SecAuthenticator instance could not be created
static int ERR_COULD_NOT_BE_CREATED
          SecAuthenticator instance could not be created
static int ERR_LDAP_SERVER_IO
          Cannot read or write on the LDAP server or cannot copy values from the LDAP server to the local registry
static int ERR_NO_LDAP_SERVER_CONNECT
          No LDAP server configured or none of the configured LDAP servers is available
static int ERR_NO_SMARTCARD
          No card reader or no smart card found and search canceled by the user.
static int ERR_SECAUTH_INIT_FAILED
          SecAuthenticator not initialized yet or cannot be initialized.
static int ERR_SECAUTH_NOT_INITIALIZED
          SecAuthenticator has not been initialized
static int ERR_SECROUTER_LOGIN
          User could not be authenticated at SecRouter
static int ERR_SECROUTER_LOGIN_IO
          User could not be authenticated at SecRouter due to IO error
static int ERR_USER_NOT_FOUND_IN_REGISTRY
          Searched user not found in the local registry
static int ERR_USER_NOT_FOUND_ON_LDAP_SERVER
          Searched user not found on any configured LDAP server.
static int ERR_WRONG_PIN
          Wrong PIN
static int ERR_WRONG_PIN_LEN
          Wrong PIN length
 
Constructor Summary
SecAuthenticatorException(int statusCode, java.lang.String message)
          Constructs a new exception with the specified status code and the specified detail message.
 
Method Summary
 int getStatus()
          Gets the status code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ERR_SECAUTH_INIT_FAILED

public static final int ERR_SECAUTH_INIT_FAILED
SecAuthenticator not initialized yet or cannot be initialized.

See Also:
Constant Field Values

ERR_NO_SMARTCARD

public static final int ERR_NO_SMARTCARD
No card reader or no smart card found and search canceled by the user.

See Also:
Constant Field Values

ERR_WRONG_PIN

public static final int ERR_WRONG_PIN
Wrong PIN

See Also:
Constant Field Values

ERR_WRONG_PIN_LEN

public static final int ERR_WRONG_PIN_LEN
Wrong PIN length

See Also:
Constant Field Values

ERR_NO_LDAP_SERVER_CONNECT

public static final int ERR_NO_LDAP_SERVER_CONNECT
No LDAP server configured or none of the configured LDAP servers is available

See Also:
Constant Field Values

ERR_USER_NOT_FOUND_ON_LDAP_SERVER

public static final int ERR_USER_NOT_FOUND_ON_LDAP_SERVER
Searched user not found on any configured LDAP server.

See Also:
Constant Field Values

ERR_USER_NOT_FOUND_IN_REGISTRY

public static final int ERR_USER_NOT_FOUND_IN_REGISTRY
Searched user not found in the local registry

See Also:
Constant Field Values

ERR_LDAP_SERVER_IO

public static final int ERR_LDAP_SERVER_IO
Cannot read or write on the LDAP server or cannot copy values from the LDAP server to the local registry

See Also:
Constant Field Values

ERR_COULD_NOT_BE_CREATED

public static final int ERR_COULD_NOT_BE_CREATED
SecAuthenticator instance could not be created

See Also:
Constant Field Values

ERR_CANCELLED_BY_USER

public static final int ERR_CANCELLED_BY_USER
SecAuthenticator instance could not be created

See Also:
Constant Field Values

ERR_SECROUTER_LOGIN

public static final int ERR_SECROUTER_LOGIN
User could not be authenticated at SecRouter

See Also:
Constant Field Values

ERR_SECROUTER_LOGIN_IO

public static final int ERR_SECROUTER_LOGIN_IO
User could not be authenticated at SecRouter due to IO error

See Also:
Constant Field Values

ERR_SECAUTH_NOT_INITIALIZED

public static final int ERR_SECAUTH_NOT_INITIALIZED
SecAuthenticator has not been initialized

See Also:
Constant Field Values
Constructor Detail

SecAuthenticatorException

public SecAuthenticatorException(int statusCode,
                                 java.lang.String message)
Constructs a new exception with the specified status code and the specified detail message.

Parameters:
statusCode - the status code. The status is saved for later retrieval by the getStatus() method.
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
Method Detail

getStatus

public int getStatus()
Gets the status code.

Returns:
status code


Copyright SecCommerce Informationssysteme GmbH 1999-2017