Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.core.security
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.odi.core.exception.OdiRuntimeException
                  extended by oracle.odi.core.security.OdiSecurityException
                      extended by oracle.odi.core.security.AuthenticationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadCredentialsException, InactiveUserException, InvalidExternalAuthenticationConfiguration, PasswordExpiredException

public abstract class AuthenticationException
extends OdiSecurityException

Abstract superclass for all exception related to user authentication failure.

Since:
11.1.1.3.0
See Also:
Serialized Form

Constructor Summary
AuthenticationException(java.lang.String pUsername, java.lang.String pMessage)
          Construct a new AuthenticationException.
AuthenticationException(java.lang.String pUsername, java.lang.String pMessage, java.lang.Throwable pCause)
          Construct a new AuthenticationException.
 
Method Summary
 java.lang.String getUsername()
          Get this authentication's user name.
 
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
 

Constructor Detail

AuthenticationException

public AuthenticationException(java.lang.String pUsername,
                               java.lang.String pMessage)
Construct a new AuthenticationException.

Parameters:
pUsername - the username which cause the authentication failure
pMessage - detailed message

AuthenticationException

public AuthenticationException(java.lang.String pUsername,
                               java.lang.String pMessage,
                               java.lang.Throwable pCause)
Construct a new AuthenticationException.

Parameters:
pUsername - the username which cause the authentication failure
pMessage - detailed message
pCause - root cause
Method Detail

getUsername

public java.lang.String getUsername()
Get this authentication's user name.

Returns:
a String representing the user name.

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.