Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package conf;
 
 
 
public class Module extends AbstractModule {
    @Override
    protected void configure() {
        bind(MangooGlobalFilter.class).to(MyGlobalFilter.class);
        bind(MangooLifecycle.class).to(Lifecycle.class);
        bind(MangooAuthenticator.class).toInstance(
                (usernamepassword) -> ("foo").equals(username) && ("bar").equals(password)
        );
    }
New to GrepCode? Check out our FAQ X