org.wildfly.swarm.config.management.security_realm.UsersAuthenticationConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.management.security_realm;
import org.wildfly.swarm.config.management.security_realm.UsersAuthentication;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface UsersAuthenticationConsumer> {
/**
* Configure a pre-constructed instance of UsersAuthentication resource
*
* @parameter Instance of UsersAuthentication to configure
* @return nothing
*/
void accept(T value);
default UsersAuthenticationConsumer andThen(
UsersAuthenticationConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}