public class WebAuthenticationDetails extends Object implements SessionIdentifierAware, Serializable
Modifier | Constructor and Description |
---|---|
protected |
WebAuthenticationDetails() |
|
WebAuthenticationDetails(javax.servlet.http.HttpServletRequest request)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doPopulateAdditionalInformation(javax.servlet.http.HttpServletRequest request)
Provided so that subclasses can populate additional information.
|
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() |
public WebAuthenticationDetails(javax.servlet.http.HttpServletRequest request)
NB: This constructor will cause a HttpSession
to be created
(this is considered reasonable as all Acegi Security authentication
requests rely on HttpSession
to store the
Authentication
between requests
request
- that the authentication request was received fromprotected WebAuthenticationDetails()
protected void doPopulateAdditionalInformation(javax.servlet.http.HttpServletRequest request)
request
- that the authentication request was received frompublic String getRemoteAddress()
public String getSessionId()
HttpSession
id the authentication request was received from.getSessionId
in interface SessionIdentifierAware
Copyright © 2018. All rights reserved.