org.acegisecurity.ui
public class WebAuthenticationDetails extends java.lang.Object implements SessionIdentifierAware, java.io.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(java.lang.Object obj) |
java.lang.String |
getRemoteAddress()
Indicates the TCP/IP address the authentication request was received from.
|
java.lang.String |
getSessionId()
Indicates the
HttpSession id the authentication request was received from. |
int |
hashCode() |
java.lang.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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getRemoteAddress()
public java.lang.String getSessionId()
HttpSession
id the authentication request was received from.getSessionId
in interface SessionIdentifierAware
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.