com.terracotta.management.user.impl
Class DfltUserInfoFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DfltUserInfoFactory
public DfltUserInfoFactory()
DfltUserInfoFactory
public DfltUserInfoFactory(PasswordHashService pwdHashSvc)
createUser
public UserInfo createUser(String username,
String password,
UserRole... roles)
- Specified by:
createUser in interface UserInfoFactory
Copyright © 2013 Terracotta, Inc.. All Rights Reserved.