Core API 7.7

net.juniper.smgt.sae.portal
Class LoginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.juniper.smgt.sae.portal.PortalException
              extended by net.juniper.smgt.sae.portal.SspException
                  extended by 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 SAE 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 SAE, or null.
 String getLoginName()
          Returns the login name used during the failed attempt to login to SAE, 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 SAE, 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 SAE, or during the failed attempt to register or unregister a login, or during the failed attempt to get registered logins.


Core API 7.7