public interface PasswordProvider
Modifier and Type | Method and Description |
---|---|
Optional<char[]> |
getPasswordFor(String user)
Get an optional password for a user.
|
default boolean |
isImpersonationAllowed()
Should impersonation be allowed by this password provider.
|
default String |
userName(String user)
Convert the supplied user name to the actual user name that should be used in the system.
|
Optional<char[]> getPasswordFor(String user)
user
- the user this is for.default boolean isImpersonationAllowed()
default String userName(String user)
user
- the SASL negotiated user name.Copyright © 2023 The Apache Software Foundation. All rights reserved.