public class

WebAuthenticationDetails

extends Object
implements Serializable
java.lang.Object
   ↳ org.springframework.security.web.authentication.WebAuthenticationDetails
Known Direct Subclasses

Class Overview

A holder of selected HTTP details related to a web authentication request.

Summary

Public Constructors
WebAuthenticationDetails(HttpServletRequest request)
Records the remote address and will also set the session Id if a session already exists (it won't create one).
Public Methods
boolean equals(Object obj)
String getRemoteAddress()
Indicates the TCP/IP address the authentication request was received from.
String getSessionId()
Indicates the HttpSession id the authentication request was received from.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WebAuthenticationDetails (HttpServletRequest request)

Records the remote address and will also set the session Id if a session already exists (it won't create one).

Parameters
request that the authentication request was received from

Public Methods

public boolean equals (Object obj)

public String getRemoteAddress ()

Indicates the TCP/IP address the authentication request was received from.

Returns
  • the address

public String getSessionId ()

Indicates the HttpSession id the authentication request was received from.

Returns
  • the session ID

public int hashCode ()

public String toString ()