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

io.quarkus.security.identity.request.UsernamePasswordAuthenticationRequest Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package io.quarkus.security.identity.request;

import io.quarkus.security.credential.PasswordCredential;

/**
 * An simple authentication request that uses a username and password
 */
public class UsernamePasswordAuthenticationRequest extends BaseAuthenticationRequest implements AuthenticationRequest {

    private final String username;
    private final PasswordCredential password;

    public UsernamePasswordAuthenticationRequest(String username, PasswordCredential password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public PasswordCredential getPassword() {
        return password;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy