nl.surfnet.coin.shindig.spi
Class SecureSocialApiGuiceModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by nl.surfnet.coin.shindig.spi.SecureSocialApiGuiceModule
All Implemented Interfaces:
com.google.inject.Module

public class SecureSocialApiGuiceModule
extends com.google.inject.AbstractModule

SocialApiGuiceModule that overrides the AnonymousAuthenticationHandler.ALLOW_UNAUTHENTICATED property to false We would like to extends SocialApiGuiceModule and call super.configure, but Guice does not permit bindig the same thing twice. Therefore the ugly copy&paste resort...


Constructor Summary
SecureSocialApiGuiceModule()
           
 
Method Summary
protected  void configure()
          
protected  Set<Class<?>> getHandlers()
          Hook to provide a Set of request handlers.
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureSocialApiGuiceModule

public SecureSocialApiGuiceModule()
Method Detail

configure

protected void configure()

Specified by:
configure in class com.google.inject.AbstractModule

getHandlers

protected Set<Class<?>> getHandlers()
Hook to provide a Set of request handlers. Subclasses may override to add or replace additional handlers.



Copyright © 2007-2012. All Rights Reserved.