| Package | Description |
|---|---|
| com.holonplatform.auth | |
| com.holonplatform.auth.internal | |
| com.holonplatform.auth.jwt | |
| com.holonplatform.auth.jwt.internal |
| Modifier and Type | Method and Description |
|---|---|
static Authentication.Builder |
Authentication.builder(String principalName)
Builder to create Authentication instance for given
principalName. |
default <T> Authentication.Builder |
Authentication.Builder.parameter(ConfigProperty<T> property,
T value)
Deprecated.
|
default Authentication.Builder |
Authentication.Builder.parameter(String name,
Object value)
Deprecated.
|
default Authentication.Builder |
Authentication.Builder.permission(Permission permission)
Deprecated.
|
default Authentication.Builder |
Authentication.Builder.permission(String permission)
Deprecated.
|
Authentication.Builder |
Authentication.Builder.root(boolean root)
Set whether authentication is considered a
root principal, for which permission checking is
always skipped, assuming that any permission is granted. |
Authentication.Builder |
Authentication.Builder.scheme(String scheme)
Set the authentication scheme with which this authentication was produced.
|
<T> Authentication.Builder |
Authentication.Builder.withParameter(ConfigProperty<T> property,
T value)
Add an authentication parameter using a
ConfigProperty an ConfigProperty.getKey() as
parameter name |
Authentication.Builder |
Authentication.Builder.withParameter(String name,
Object value)
Add an authentication parameter.
|
Authentication.Builder |
Authentication.Builder.withPermission(Permission permission)
Add a permission granted to Authentication
|
Authentication.Builder |
Authentication.Builder.withPermission(String permission)
Add a permission granted to Authentication using String representation.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultAuthentication.AuthenticationBuilder
Default
Authentication.Builder implementation. |
| Modifier and Type | Method and Description |
|---|---|
Authentication.Builder |
DefaultAuthentication.AuthenticationBuilder.root(boolean root) |
Authentication.Builder |
DefaultAuthentication.AuthenticationBuilder.scheme(String scheme) |
<T> Authentication.Builder |
DefaultAuthentication.AuthenticationBuilder.withParameter(ConfigProperty<T> property,
T value) |
Authentication.Builder |
DefaultAuthentication.AuthenticationBuilder.withParameter(String name,
Object value) |
Authentication.Builder |
DefaultAuthentication.AuthenticationBuilder.withPermission(Permission permission) |
Authentication.Builder |
DefaultAuthentication.AuthenticationBuilder.withPermission(String permission) |
| Modifier and Type | Method and Description |
|---|---|
Authentication.Builder |
JwtTokenParser.parseJwt(JwtConfiguration configuration,
String jwt)
Parse given JWT and obtain it as an
Authentication instance. |
| Modifier and Type | Method and Description |
|---|---|
Authentication.Builder |
DefaultJwtTokenParser.parseJwt(JwtConfiguration configuration,
String jwt) |
Copyright © 2019 The Holon Platform. All rights reserved.