Package org.jboss.errai.bus.server.security.auth.rules

Examples of org.jboss.errai.bus.server.security.auth.rules.RolesRequiredRule


    final ErraiServiceConfigurator config = context.getConfig();

    if (config.hasProperty(requireAuthenticationForAll) && "true".equals(config.getProperty(requireAuthenticationForAll))) {
      log.info("authentication for all requests required, adding rule ... ");
      context.getBus().addRule("AuthorizationService", new RolesRequiredRule(new HashSet<Object>(), context.getBus()));
    }
  }
View Full Code Here

TOP

Related Classes of org.jboss.errai.bus.server.security.auth.rules.RolesRequiredRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.