Package net.shibboleth.idp.authn.impl
Class StorageBackedAccountLockoutManager.UsernameIPLockoutKeyStrategy
- java.lang.Object
-
- net.shibboleth.idp.authn.impl.StorageBackedAccountLockoutManager.UsernameIPLockoutKeyStrategy
-
- Enclosing class:
- StorageBackedAccountLockoutManager
public static class StorageBackedAccountLockoutManager.UsernameIPLockoutKeyStrategy extends Object implements Function<org.opensaml.profile.context.ProfileRequestContext,String>
A function to generate a key for lockout storage. This effectively defines the scope of the lockout; e.g. if the key depends on the supplied username and client IP address, the lockout will affect only attempts for that username from that client IP.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.servlet.http.HttpServletRequesthttpRequestServlet request to pull client ip from.
-
Constructor Summary
Constructors Constructor Description UsernameIPLockoutKeyStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(org.opensaml.profile.context.ProfileRequestContext profileRequestContext)voidsetHttpServletRequest(javax.servlet.http.HttpServletRequest request)Set the servlet request to read from.
-