...
- Create a new ubiloginService entry in cn=Services,ou=System with following attributes:
- ubiloginClassname → com.ubisecure.ubilogin.session.manager.redis.SessionManagerFactoryRedis
- ubiloginConfString → url <URL of the Redis service, in form redis://[address]:[port]>
- Use address and port of only one Redis master node. SSO will discover addresses of other master nodes through Redis protocolPossible to set separate entries for each seed node in the cluster, as shown in the example below.
- The seed nodes don't need to contain all the nodes in the cluster, as SSO will discover the other nodes during runtime through Redis protocol.
- At least one of the seed nodes needs to be online during SSO startup. Otherwise SSO fails to boot.
- ubiloginConfString → password <password for the Redis service>
- ubiloginClassname → com.ubisecure.ubilogin.session.manager.redis.SessionManagerFactoryRedis
- Link the created ubiloginService to the cn=ServerSession,ou=System entry using ubiloginServiceDN attribute
...
Code Block | ||
---|---|---|
| ||
dn: cn=SessionManagerFactoryRedis,cn=Services,ou=System,@suffix@ changetype:add objectClass: ubiloginService cn: SessionManagerFactoryRedis ubiloginClassName: com.ubisecure.ubilogin.session.manager.redis.SessionManagerFactoryRedis ubiloginConfString: url redis://redisnode1.example.com:7000 ubiloginConfString: url redis://redisnode1.example.com:7001 ubiloginConfString: url redis://redisnode2.example.com:7000 ubiloginConfString: url redis://redisnode2.example.com:7001 ubiloginConfString: url redis://redisnode3.example.com:7000 ubiloginConfString: url redis://redisnode3.example.com:63797001 ubiloginConfString: password SecretPassword1 dn: cn=ServerSession,ou=System,@suffix@ changetype: modify replace: ubiloginServiceDN ubiloginServiceDN: cn=SessionManagerFactoryRedis,cn=Services,ou=System,@suffix@ - |
...