Core API 4.3

net.juniper.smgt.sae.portal
Class LoginException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.juniper.smgt.sae.portal.PortalException
                    |
                    +--net.juniper.smgt.sae.portal.SspException
                          |
                          +--net.juniper.smgt.sae.portal.LoginException
All Implemented Interfaces:
Serializable

public class LoginException
extends SspException

This exception is thrown when an attempt to log a user in to SSP fails, or if an authentication failure occurs while registering or unregistering a login, or if an authentication failure occurs while getting registered logins.

See Also:
Ssp.loginUser(java.lang.String, java.lang.String, java.lang.String), Ssp.registerLogin(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String), Ssp.unregisterLogin(java.lang.String, java.lang.String, java.lang.String), Ssp.getRegisteredLogins(java.lang.String, java.lang.String), Serialized Form

Method Summary
 String getCurrentIp()
          Returns the IP address of the user who failed to login to SSP, or null.
 String getLoginName()
          Returns the login name used during the failed attempt to login to SSP, or during the failed attempt to register or unregister a login, or during the failed attempt to get registered logins.
 
Methods inherited from class net.juniper.smgt.sae.portal.SspException
getMessage, getWebMessage, setWebMessage
 
Methods inherited from class net.juniper.smgt.sae.portal.PortalException
printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCurrentIp

public String getCurrentIp()
Returns the IP address of the user who failed to login to SSP, or null.

Returns:
Null, if no IP address is available.

getLoginName

public String getLoginName()
Returns the login name used during the failed attempt to login to SSP, or during the failed attempt to register or unregister a login, or during the failed attempt to get registered logins.


Core API 4.3