Corrected out of date comment (constructor doesn't create a session). Removed unnecessary default constructor.
This commit is contained in:
parent
4b8455c831
commit
628227f5e7
|
@ -38,10 +38,8 @@ public class WebAuthenticationDetails implements SessionIdentifierAware, Seriali
|
||||||
//~ Constructors ===================================================================================================
|
//~ Constructors ===================================================================================================
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NB: This constructor will cause a <code>HttpSession</code> to be created
|
* Records the remote address and will also set the session Id if a session
|
||||||
* (this is considered reasonable as all Spring Security authentication
|
* already exists (it won't create one).
|
||||||
* requests rely on <code>HttpSession</code> to store the
|
|
||||||
* <code>Authentication</code> between requests.
|
|
||||||
*
|
*
|
||||||
* @param request that the authentication request was received from
|
* @param request that the authentication request was received from
|
||||||
*/
|
*/
|
||||||
|
@ -54,10 +52,6 @@ public class WebAuthenticationDetails implements SessionIdentifierAware, Seriali
|
||||||
doPopulateAdditionalInformation(request);
|
doPopulateAdditionalInformation(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected WebAuthenticationDetails() {
|
|
||||||
throw new IllegalArgumentException("Cannot use default constructor");
|
|
||||||
}
|
|
||||||
|
|
||||||
//~ Methods ========================================================================================================
|
//~ Methods ========================================================================================================
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue