|
|||||||||
| Home >> All >> org >> acegisecurity >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.acegisecurity.ui
Class WebAuthenticationDetails

java.lang.Objectorg.acegisecurity.ui.WebAuthenticationDetails
- All Implemented Interfaces:
- java.io.Serializable
- public class WebAuthenticationDetails
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
A holder of selected HTTP details related to a web authentication request.
- Version:
- $Id: WebAuthenticationDetails.java,v 1.4 2005/11/17 00:56:10 benalex Exp $
| Field Summary | |
private java.lang.String |
remoteAddress
|
private java.lang.String |
sessionId
|
| Constructor Summary | |
protected |
WebAuthenticationDetails()
|
|
WebAuthenticationDetails(javax.servlet.http.HttpServletRequest request)
Constructor. |
|
WebAuthenticationDetails(javax.servlet.http.HttpServletRequest request,
boolean forceSessionCreation)
|
| Method Summary | |
protected void |
doPopulateAdditionalInformation(javax.servlet.http.HttpServletRequest request)
Provided so that subclasses can populate additional information. |
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. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
remoteAddress
private java.lang.String remoteAddress
sessionId
private java.lang.String sessionId
| Constructor Detail |
WebAuthenticationDetails
public WebAuthenticationDetails(javax.servlet.http.HttpServletRequest request)
- Constructor.
NB: This constructor will cause a
HttpSessionto be created (this is considered reasonable as all Acegi Security authentication requests rely onHttpSessionto store theAuthenticationbetween requests
WebAuthenticationDetails
public WebAuthenticationDetails(javax.servlet.http.HttpServletRequest request, boolean forceSessionCreation)
WebAuthenticationDetails
protected WebAuthenticationDetails()
| Method Detail |
getRemoteAddress
public java.lang.String getRemoteAddress()
- Indicates the TCP/IP address the authentication request was received
from.
getSessionId
public java.lang.String getSessionId()
- Indicates the
HttpSessionid the authentication request was received from.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
doPopulateAdditionalInformation
protected void doPopulateAdditionalInformation(javax.servlet.http.HttpServletRequest request)
- Provided so that subclasses can populate additional information.
|
|||||||||
| Home >> All >> org >> acegisecurity >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.acegisecurity.ui.WebAuthenticationDetails