Package | Description |
---|---|
org.salespointframework.support |
Infrastrcuture support classes.
|
org.salespointframework.useraccount |
User account management.
|
Modifier and Type | Method and Description |
---|---|
Role |
StringToRoleConverter.convert(String text) |
Modifier and Type | Method and Description |
---|---|
static Role |
Role.of(String name)
Creates a new
Role instance with the given name. |
Modifier and Type | Method and Description |
---|---|
Streamable<Role> |
UserAccount.getRoles() |
Modifier and Type | Method and Description |
---|---|
boolean |
UserAccount.add(Role role)
Adds a
Role to the UserAccount . |
int |
Role.compareTo(Role other) |
UserAccount |
UserAccountManager.create(String userName,
String password,
Role... roles)
Creates a new
UserAccount and persists it right away. |
UserAccount |
PersistentUserAccountManager.create(String userName,
String password,
Role... roles) |
boolean |
UserAccount.hasRole(Role role)
Checks if a
UserAccount has a specific Role |
boolean |
UserAccount.remove(Role role)
Removes a
Role from a UserAccount . |
Constructor and Description |
---|
UserAccount(UserAccountIdentifier userAccountIdentifier,
String password,
Role... roles) |
Constructor and Description |
---|
UserAccount(UserAccountIdentifier userAccountIdentifier,
String password,
String firstname,
String lastname,
String email,
Collection<Role> roles) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.