Class FafnirClientConfiguration

java.lang.Object
dk.acto.fafnir.client.FafnirClientConfiguration

@Configuration
@ComponentScan
public class FafnirClientConfiguration
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    FafnirClientConfiguration()  
  • Method Summary

    Modifier and Type Method Description
    FafnirClient fafnirClient​(com.hazelcast.core.HazelcastInstance hazelcastInstance, PublicKeyProvider publicKeyProvider, HazelcastConf hazelcastConf)  
    HazelcastConf hazelcastConf​(java.lang.String mapName, boolean userNameIsEmail, boolean passwordIsEncrypted, boolean trimUsername)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FafnirClientConfiguration

      public FafnirClientConfiguration()
  • Method Details

    • fafnirClient

      @Bean public FafnirClient fafnirClient​(@Qualifier("hazelcastInstance") com.hazelcast.core.HazelcastInstance hazelcastInstance, PublicKeyProvider publicKeyProvider, HazelcastConf hazelcastConf)
    • hazelcastConf

      @Bean public HazelcastConf hazelcastConf​(@Value("${HAZELCAST_MAP_NAME:fafnir-users}") java.lang.String mapName, @Value("${HAZELCAST_USERNAME_IS_EMAIL:false}") boolean userNameIsEmail, @Value("${HAZELCAST_PASSWORD_IS_ENCRYPTED:false}") boolean passwordIsEncrypted, @Value("${HAZELCAST_TRIM_USERNAME:false}") boolean trimUsername)