public class IPAddressLoginHandlerFactoryBean extends AbstractLoginHandlerFactoryBean
IPAddressLoginHandler.| Modifier and Type | Field and Description |
|---|---|
private String |
authenticatedUser
The username to use for IP-address "authenticated" users.
|
private boolean |
ipInRangeIsAuthenticated
Whether a user is "authenticated" if their IP address is within a configured IP range.
|
private List<IPRange> |
ipRanges
List of configured IP ranged.
|
| Constructor and Description |
|---|
IPAddressLoginHandlerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createInstance() |
Class |
getObjectType() |
void |
setAuthenticatedUser(String user) |
void |
setIpInRangeIsAuthenticated(boolean authenticated) |
void |
setIpRanges(List<IPRange> ranges) |
getAuthenticationDuration, getAuthenticationMethods, populateHandler, setAuthenticationDuration, setAuthenticationMethodsprivate String authenticatedUser
private boolean ipInRangeIsAuthenticated
public Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeangetObjectType in class org.springframework.beans.factory.config.AbstractFactoryBeanpublic void setAuthenticatedUser(String user)
user - The authenticatedUser to set.public void setIpInRangeIsAuthenticated(boolean authenticated)
authenticated - The ipInRangeIsAuthenticated to set.Copyright © 1999-2014. All Rights Reserved.