public class WebAuthenticationDetailsSource extends java.lang.Object implements AuthenticationDetailsSource
AuthenticationDetailsSource
which builds the details object from
an HttpServletRequest object.
By default will create an instance of WebAuthenticationDetails
. Any object that accepts a
HttpServletRequest
as its sole constructor can be used instead of this default.
Constructor and Description |
---|
WebAuthenticationDetailsSource() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
buildDetails(java.lang.Object context)
Called by a class when it wishes a new authentication details instance to be created.
|
void |
setClazz(java.lang.Class clazz) |
public java.lang.Object buildDetails(java.lang.Object context)
AuthenticationDetailsSource
buildDetails
in interface AuthenticationDetailsSource
context
- the HttpServletRequest object.public void setClazz(java.lang.Class clazz)