import java.util.Arrays;
+/**
+ * The class represents the CldsUser that can be extracted from cldsusers.json.
+ */
public class CldsUser {
private String user;
private SecureServicePermission[] permissions;
/**
+ * Returns the user.
+ *
* @return the user
*/
public String getUser() {
}
/**
+ * Sets the user.
+ *
* @param user
* the user to set
*/
}
/**
+ * Returns the password.
+ *
* @return the password
*/
public String getPassword() {
}
/**
+ * Sets the password.
+ *
* @param password
* the password to set
*/
}
/**
+ * Returns the permissions.
+ *
* @return the permissions
*/
public SecureServicePermission[] getPermissions() {
}
public String[] getPermissionsString() {
- //NOSONAR
- return Arrays.stream(getPermissions()).map(SecureServicePermission::getKey).toArray(String[]::new);
+ return Arrays.stream(getPermissions()).map(SecureServicePermission::getKey).toArray(String[]::new);// NOSONAR
}
/**
- * @param permissions
+ * Sets the permissions.
+ *
+ * @param permissionsArray
* the permissions to set
*/
public void setPermissions(SecureServicePermission[] permissionsArray) {