java.lang.Object
one.jpro.platform.auth.core.api.FluentBasicAuthAPI
- All Implemented Interfaces:
FluentBasicAuth
Fluent Basic (username and password) Authentication API.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
FluentBasicAuthAPI
public FluentBasicAuthAPI()
-
-
Method Details
-
userManager
Description copied from interface:FluentBasicAuthSet the user manager.- Specified by:
userManagerin interfaceFluentBasicAuth- Parameters:
userManager- the user manager- Returns:
- self
-
roles
Description copied from interface:FluentBasicAuthSet the roles.- Specified by:
rolesin interfaceFluentBasicAuth- Parameters:
roles- the roles- Returns:
- self
-
attributes
Description copied from interface:FluentBasicAuthSet the attributes.- Specified by:
attributesin interfaceFluentBasicAuth- Parameters:
attributes- the attributes- Returns:
- self
-
authorizationPath
Description copied from interface:FluentBasicAuthSet the authorization path.- Specified by:
authorizationPathin interfaceFluentBasicAuth- Parameters:
authorizationPath- the authorization path- Returns:
- self
-
create
Description copied from interface:FluentBasicAuthCreate a simple authentication provider.- Specified by:
createin interfaceFluentBasicAuth- Returns:
- a
BasicAuthenticationProviderinstance
-