public class SchedulerUser extends User
| Modifier and Type | Field and Description |
|---|---|
protected static long |
serialVersionUID
For interoperability with possible future changes.
|
| Constructor and Description |
|---|
SchedulerUser(String login,
String encryptedPassword,
boolean localAuth)
Creates a new Scheduler user.
|
SchedulerUser(String login,
String encryptedPassword,
boolean localAuth,
Set<RoleInfo> permissions)
Creates a new Scheduler user with her permissions.
|
| Modifier and Type | Method and Description |
|---|---|
Set<RoleInfo> |
getPermissions()
Gets the user's permissions, which will determine the actions she could perform.
|
boolean |
isLocalAuth()
Checks if the user is local or not (VDP authentication).
|
equals, getEncryptedPassword, getLogin, hashCode, setEncryptedPassword, toStringprotected static final long serialVersionUID
public SchedulerUser(String login, String encryptedPassword, boolean localAuth)
login - the ID for authenticating the user against the facade.encryptedPassword - the password of the user for authenticating the user
against the facade.localAuth - true for authenticating the user against the Scheduler server;
false for authenticating the user against the VDP server.public SchedulerUser(String login, String encryptedPassword, boolean localAuth, Set<RoleInfo> permissions)
login - the ID for authenticating the user against the facade.encryptedPassword - the password of the user for authenticating the user
against the facade.localAuth - true for authenticating the user against the Scheduler server;
false for authenticating the user against the VDP server.permissions - the user's permissions.public Set<RoleInfo> getPermissions()
public boolean isLocalAuth()
true if the user is authenticated against the Scheduler server;
false if the user is authenticated against the VDP server.Copyright © 2024 Denodo Technologies. All rights reserved.