com.terracotta.management.user.impl
Class DfltUserInfoFactory

java.lang.Object
  extended by com.terracotta.management.user.impl.DfltUserInfoFactory
All Implemented Interfaces:
UserInfoFactory

public final class DfltUserInfoFactory
extends Object
implements UserInfoFactory

The default implementation for UserInfo creation. By default this factory implementation uses the password hashing algorithm and encoding provided by Shiro1FormattingHashService.

Author:
brandony

Constructor Summary
DfltUserInfoFactory()
           
DfltUserInfoFactory(PasswordHashService pwdHashSvc)
           
 
Method Summary
 UserInfo createUser(String username, String password, UserRole... roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DfltUserInfoFactory

public DfltUserInfoFactory()

DfltUserInfoFactory

public DfltUserInfoFactory(PasswordHashService pwdHashSvc)
Method Detail

createUser

public UserInfo createUser(String username,
                           String password,
                           UserRole... roles)
Specified by:
createUser in interface UserInfoFactory


Copyright © 2013 Terracotta, Inc.. All Rights Reserved.