edu.internet2.middleware.shibboleth.idp.config.profile.authn
Class IPAddressLoginHandlerFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.idp.config.profile.authn.AbstractLoginHandlerFactoryBean
          extended by edu.internet2.middleware.shibboleth.idp.config.profile.authn.IPAddressLoginHandlerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class IPAddressLoginHandlerFactoryBean
extends AbstractLoginHandlerFactoryBean

Spring factory for IPAddressLoginHandler.


Field Summary
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.
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
IPAddressLoginHandlerFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 Class getObjectType()
          
 void setAuthenticatedUser(String user)
           
 void setIpInRangeIsAuthenticated(boolean authenticated)
           
 void setIpRanges(List<IPRange> ranges)
           
 
Methods inherited from class edu.internet2.middleware.shibboleth.idp.config.profile.authn.AbstractLoginHandlerFactoryBean
getAuthenticationDuration, getAuthenticationMethods, populateHandler, setAuthenticationDuration, setAuthenticationMethods
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authenticatedUser

private String authenticatedUser
The username to use for IP-address "authenticated" users.


ipRanges

private List<IPRange> ipRanges
List of configured IP ranged.


ipInRangeIsAuthenticated

private boolean ipInRangeIsAuthenticated
Whether a user is "authenticated" if their IP address is within a configured IP range.

Constructor Detail

IPAddressLoginHandlerFactoryBean

public IPAddressLoginHandlerFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

setAuthenticatedUser

public void setAuthenticatedUser(String user)
Parameters:
user - The authenticatedUser to set.

setIpRanges

public void setIpRanges(List<IPRange> ranges)
Parameters:
ranges - The ipRanges to set.

setIpInRangeIsAuthenticated

public void setIpInRangeIsAuthenticated(boolean authenticated)
Parameters:
authenticated - The ipInRangeIsAuthenticated to set.

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.