use of com.tvd12.ezyfoxserver.service.EzySessionTokenGenerator in project ezyfox-server by youngmonkeys.
the class EzyLoader method newSessionManagers.
@SuppressWarnings("rawtypes")
protected EzySessionManager newSessionManagers(EzySettings settings) {
EzySimpleSessionManager.Builder builder = createSessionManagerBuilder(settings);
EzySessionTokenGenerator tokenGenerator = new EzySimpleSessionTokenGenerator(settings.getNodeName());
builder.tokenGenerator(tokenGenerator).maxSessions(settings.getMaxSessions());
return builder.build();
}
Aggregations