Package | Description |
---|---|
com.holonplatform.auth | |
com.holonplatform.auth.jwt |
Modifier and Type | Method and Description |
---|---|
static Authentication.Builder |
Authentication.builder(String principalName)
Builder to create Authentication instance for given
principalName . |
<T> Authentication.Builder |
Authentication.Builder.parameter(ConfigProperty<T> property,
T value)
Add an authentication parameter using a
ConfigProperty an ConfigProperty.getKey() as
parameter name |
Authentication.Builder |
Authentication.Builder.parameter(String name,
Object value)
Add an authentication parameter
|
Authentication.Builder |
Authentication.Builder.permission(Permission permission)
Add a permission granted to Authentication
|
Authentication.Builder |
Authentication.Builder.permission(String permission)
Add a permission granted to Authentication using String representation.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Authentication.Builder |
JwtTokenParser.parseJwt(JwtConfiguration configuration,
String jwt)
Parse given JWT and obtain it as an
Authentication instance. |
Copyright © 2018 The Holon Platform. All rights reserved.