Package | Description |
---|---|
org.apache.marmotta.platform.user.api | |
org.apache.marmotta.platform.user.services | |
org.apache.marmotta.platform.user.services.auth |
Modifier and Type | Method and Description |
---|---|
UserAccount |
AccountService.createAccount(String login)
Create an user account
|
UserAccount |
AccountService.createAccount(String login,
String firstName,
String lastName)
Create an user account and set first- and lastName in the user profile (foaf)
|
UserAccount |
AccountService.getAccount(org.apache.marmotta.platform.core.model.user.MarmottaUser user)
Retrieve the user account for a given
MarmottaUser (facaded user resource) |
UserAccount |
AccountService.getAccount(String login)
Retrieve the user account for the given login name
|
UserAccount |
AccountService.getAccount(org.openrdf.model.URI userResource)
Retrieve the user account for the given (User)-Resource
|
UserAccount |
AccountService.setPassword(UserAccount account,
String passwd)
Update/Set the password for the given
UserAccount |
Modifier and Type | Method and Description |
---|---|
List<UserAccount> |
AccountService.listAccounts()
List all
UserAccount . |
List<UserAccount> |
AccountService.listAccounts(String role)
Returns a
List of UserAccount that have the given role associated. |
Modifier and Type | Method and Description |
---|---|
void |
AccountService.addRole(UserAccount account,
String role)
Add a single role to the roles of the given
UserAccount |
boolean |
AccountService.checkPassword(UserAccount account,
String passwd)
Check the credentials for the given
UserAccount |
boolean |
AuthenticationProvider.checkPassword(UserAccount login,
String passwd) |
void |
AccountService.deleteAccount(UserAccount account)
Deletes the given user account.
|
Set<String> |
AccountService.getRoles(UserAccount account)
Retrieve the roles for the given
UserAccount |
String |
UserConfigurationService.getUserConfiguration(UserAccount user,
String key)
Get the configuration for the given user and key.
|
String |
UserConfigurationService.getUserConfiguration(UserAccount user,
String key,
String defaultValue)
Get the configuration for the given user and key.
|
List<Object> |
UserConfigurationService.getUserListConfiguration(UserAccount user,
String key)
Return the list configuration value of the given key for the given user.
|
List<Object> |
UserConfigurationService.getUserListConfiguration(UserAccount user,
String key,
List<Object> defaultValue)
Return the list configuration value of the given key for the given user.
|
boolean |
AccountService.hasRole(UserAccount account,
String role)
Check whether the given
UserAccount has the role in question. |
boolean |
UserConfigurationService.isUserConfigurationSet(UserAccount user,
String key)
Check whether the given configuration is set for the given user.
|
void |
AccountService.removeRole(UserAccount account,
String role)
Remove a single role from the roles of the given
UserAccount |
void |
UserConfigurationService.removeUserConfiguration(UserAccount user,
String key)
Remove the user configuration identified by "key" from the database.
|
UserAccount |
AccountService.setPassword(UserAccount account,
String passwd)
Update/Set the password for the given
UserAccount |
void |
AccountService.setRoles(UserAccount account,
Set<String> roles)
Set the roles for the given
UserAccount |
void |
UserConfigurationService.setUserConfiguration(UserAccount user,
String key,
String value)
Set the configuration "key" to the string value "value".
|
void |
UserConfigurationService.setUserListConfiguration(UserAccount user,
String key,
List<String> values)
Set the configuration "key" to the string value "value".
|
boolean |
AuthenticationProvider.updatePassword(UserAccount login,
String newPasswd) |
Modifier and Type | Method and Description |
---|---|
UserAccount |
AccountServiceImpl.createAccount(String login) |
UserAccount |
AccountServiceImpl.createAccount(String login,
String firstName,
String lastName) |
UserAccount |
AccountServiceImpl.getAccount(org.apache.marmotta.platform.core.model.user.MarmottaUser user) |
UserAccount |
AccountServiceImpl.getAccount(String login) |
UserAccount |
AccountServiceImpl.getAccount(org.openrdf.model.URI resource) |
UserAccount |
AccountServiceImpl.setPassword(UserAccount account,
String passwd) |
Modifier and Type | Method and Description |
---|---|
List<UserAccount> |
AccountServiceImpl.listAccounts() |
List<UserAccount> |
AccountServiceImpl.listAccounts(String role) |
Modifier and Type | Method and Description |
---|---|
void |
AccountServiceImpl.addRole(UserAccount account,
String role) |
boolean |
AccountServiceImpl.checkPassword(UserAccount account,
String passwd) |
void |
AccountServiceImpl.deleteAccount(UserAccount account) |
Set<String> |
AccountServiceImpl.getRoles(UserAccount account) |
org.apache.commons.configuration.Configuration |
UserConfigurationServiceImpl.getUserConfiguration(UserAccount user) |
String |
UserConfigurationServiceImpl.getUserConfiguration(UserAccount user,
String key) |
String |
UserConfigurationServiceImpl.getUserConfiguration(UserAccount user,
String key,
String defaultValue) |
List<Object> |
UserConfigurationServiceImpl.getUserListConfiguration(UserAccount user,
String key) |
List<Object> |
UserConfigurationServiceImpl.getUserListConfiguration(UserAccount user,
String key,
List<Object> defaultValue) |
boolean |
AccountServiceImpl.hasRole(UserAccount account,
String role) |
boolean |
UserConfigurationServiceImpl.isUserConfigurationSet(UserAccount user,
String key) |
void |
AccountServiceImpl.removeRole(UserAccount account,
String role) |
void |
UserConfigurationServiceImpl.removeUserConfiguration(UserAccount user,
String key) |
void |
UserConfigurationServiceImpl.save(UserAccount user) |
UserAccount |
AccountServiceImpl.setPassword(UserAccount account,
String passwd) |
void |
AccountServiceImpl.setRoles(UserAccount account,
Set<String> roles) |
void |
UserConfigurationServiceImpl.setUserConfiguration(UserAccount user,
String key,
String value) |
void |
UserConfigurationServiceImpl.setUserListConfiguration(UserAccount user,
String key,
List<String> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
LdapAuthProvider.checkPassword(UserAccount login,
String passwd) |
boolean |
LMFAuthProviderImpl.checkPassword(UserAccount login,
String passwd) |
boolean |
LdapAuthProvider.updatePassword(UserAccount login,
String newPasswd) |
boolean |
LMFAuthProviderImpl.updatePassword(UserAccount login,
String newPasswd) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.