All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.networknt.basicauth.UserAuth Maven / Gradle / Ivy

There is a newer version: 2.1.36
Show newest version
package com.networknt.basicauth;

import com.networknt.config.ConfigInjection;

import java.util.List;

public class UserAuth {
    String username;
    String password;
    List paths;

    public UserAuth(String username, String password, List paths) {
        this.username = username;
        this.password = password;
        this.paths = paths;
    }

    public UserAuth() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = (String) ConfigInjection.decryptEnvValue(ConfigInjection.getDecryptor(), password);
    }

    public List getPaths() {
        return paths;
    }

    public void setPaths(List paths) {
        this.paths = paths;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy