Examples of SecureRandomProvider


Examples of com.wesabe.grendel.modules.SecureRandomProvider

    private SecureRandomProvider provider;
   
    @Before
    public void setup() throws Exception {
      Logger.getLogger(SecureRandomProvider.class.getCanonicalName()).setLevel(Level.OFF);
      this.provider = new SecureRandomProvider();
    }
View Full Code Here

Examples of com.wesabe.grendel.modules.SecureRandomProvider

    addResourcePackage("com.wesabe.grendel.auth");
    addResourcePackage("com.wesabe.grendel.resources");
    addModule(new AbstractModule() {
      @Override
      protected void configure() {
        bind(SecureRandom.class).toProvider(new SecureRandomProvider());
      }
    });
    setStage(Stage.PRODUCTION);
  }
View Full Code Here

Examples of org.picketlink.idm.api.SecureRandomProvider

                picketLinkIDMCache.register(storeCacheProvider);
                identityConfiguration.getIdentityConfigurationRegistry().register(storeCacheProvider, "storeCacheProvider");
            }

            if (useSecureRandomService != null && "true".equals(useSecureRandomService.getValue())) {
                SecureRandomProvider secureRandomProvider = (SecureRandomProvider)exoContainerContext.getContainer().getComponentInstanceOfType(SecureRandomProvider.class);
                identityConfiguration.getIdentityConfigurationRegistry().register(secureRandomProvider, DatabaseReadingSaltEncoder.DEFAULT_SECURE_RANDOM_PROVIDER_REGISTRY_NAME);
            }
        } else {
            identitySessionFactory = (IdentitySessionFactory) new InitialContext().lookup(jndiName.getValue());
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.