Module one.jpro.platform.auth.core
Package one.jpro.platform.auth.core.api
Interface FluentBasicAuth
- All Known Implementing Classes:
FluentBasicAuthAPI
public interface FluentBasicAuth
Fluent Basic (username and password) Authentication interface.
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, Object> attributes) Set the attributes.authorizationPath(String authorizationPath) Set the authorization path.create()Create a simple authentication provider.Set the roles.userManager(UserManager userManager) Set the user manager.
-
Method Details
-
userManager
Set the user manager.- Parameters:
userManager- the user manager- Returns:
- self
-
roles
Set the roles.- Parameters:
roles- the roles- Returns:
- self
-
attributes
Set the attributes.- Parameters:
attributes- the attributes- Returns:
- self
-
authorizationPath
Set the authorization path.- Parameters:
authorizationPath- the authorization path- Returns:
- self
-
create
BasicAuthenticationProvider create()Create a simple authentication provider.- Returns:
- a
BasicAuthenticationProviderinstance
-