A B C D E F G H I J K N O P R S T U V W 
All Classes All Packages

A

AccessOperation - Enum in io.pravega.shared.security.auth
Represents an operation that is authorized by a permission (allow, deny, etc.).
ANY - io.pravega.shared.security.auth.AccessOperation
Doesn't represent any specific operation, and allows the caller to make it explicit that any access operation.
AuthorizationResource - Interface in io.pravega.shared.security.auth
This interface provides string representations of auth-protected resources.
AuthorizationResourceImpl - Class in io.pravega.shared.security.auth
The main implementation of the AuthorizationResource class.
AuthorizationResourceImpl() - Constructor for class io.pravega.shared.security.auth.AuthorizationResourceImpl
 

B

build() - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor.StrongPasswordProcessorBuilder
 
builder() - Static method in class io.pravega.shared.security.crypto.StrongPasswordProcessor
 

C

canEqual(Object) - Method in class io.pravega.shared.security.auth.DefaultCredentials
 
canEqual(Object) - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
canEqual(Object) - Method in class io.pravega.shared.security.auth.UserPrincipal
 
checkPassword(char[], String) - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor
 
close() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput
 
Credentials - Interface in io.pravega.shared.security.auth
This interface represents the credentials passed to Pravega for authentication and authorizing the access.

D

DefaultCredentials - Class in io.pravega.shared.security.auth
 
DefaultCredentials(String, String) - Constructor for class io.pravega.shared.security.auth.DefaultCredentials
Creates a new object containing a token that is valid for Basic authentication scheme.
DOMAIN_PART_SUFFIX - Static variable in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
durationToExpiry() - Method in class io.pravega.shared.security.token.JsonWebToken
Returns the duration relative to the current instant in which the specified JWT is to expire.

E

emptyToken() - Static method in class io.pravega.shared.security.token.JsonWebToken
 
encryptPassword(String) - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor
 
equals(Object) - Method in class io.pravega.shared.security.auth.DefaultCredentials
 
equals(Object) - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
equals(Object) - Method in class io.pravega.shared.security.auth.UserPrincipal
 

F

fetchClaims(String, byte[]) - Static method in class io.pravega.shared.security.token.JwtParser
Fetches claims from a given token.

G

getAcl() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
getAudience() - Method in class io.pravega.shared.security.token.JsonWebToken
The value of the JWT "aud" (Sudience) claim (https://tools.ietf.org/html/rfc7519#section-4.1.3)
getAuthenticationToken() - Method in interface io.pravega.shared.security.auth.Credentials
Returns the authorization token to be sent to Pravega.
getAuthenticationToken() - Method in class io.pravega.shared.security.auth.DefaultCredentials
 
getAuthenticationType() - Method in interface io.pravega.shared.security.auth.Credentials
Returns the authentication type.
getAuthenticationType() - Method in class io.pravega.shared.security.auth.DefaultCredentials
 
getExpirationTime() - Method in class io.pravega.shared.security.token.JsonWebToken
The value of the JWT "exp" (Expiration Time) claim (https://tools.ietf.org/html/rfc7519#section-4.1.4).
getFile() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput
 
getName() - Method in class io.pravega.shared.security.auth.UserPrincipal
Returns the name of this Principal.
getPassword() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
getPermissionsByResource() - Method in class io.pravega.shared.security.token.JsonWebToken
 
getSubject() - Method in class io.pravega.shared.security.token.JsonWebToken
The value of the JWT "sub" (Subject) claim (https://tools.ietf.org/html/rfc7519#section-4.1.2)
getUsername() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 

H

hashCode() - Method in class io.pravega.shared.security.auth.DefaultCredentials
 
hashCode() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
hashCode() - Method in class io.pravega.shared.security.auth.UserPrincipal
 

I

io.pravega.shared.security.auth - package io.pravega.shared.security.auth
 
io.pravega.shared.security.crypto - package io.pravega.shared.security.crypto
 
io.pravega.shared.security.token - package io.pravega.shared.security.token
 
iterations(int) - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor.StrongPasswordProcessorBuilder
 

J

JsonWebToken - Class in io.pravega.shared.security.token
Creates Json Web Tokens (JWT).
JsonWebToken(String, String, @lombok.NonNull byte[], Date, Map<String, Object>) - Constructor for class io.pravega.shared.security.token.JsonWebToken
 
JsonWebToken(String, String, @lombok.NonNull byte[], Map<String, Object>, Integer) - Constructor for class io.pravega.shared.security.token.JsonWebToken
Creates a new instance of this class.
JsonWebToken(String, String, byte[]) - Constructor for class io.pravega.shared.security.token.JsonWebToken
Creates a new instance of this class.
JwtParser - Class in io.pravega.shared.security.token
 
JwtParser() - Constructor for class io.pravega.shared.security.token.JwtParser
 

K

keyAlgorythm(String) - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor.StrongPasswordProcessorBuilder
 
keyLength(int) - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor.StrongPasswordProcessorBuilder
 

N

NONE - io.pravega.shared.security.auth.AccessOperation
Doesn't represent any access operation.

O

of(String, String, String) - Static method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
ofInternalStream(String, String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofInternalStream(String, String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions related to the specified internal stream.
ofKeyValueTableInScope(String, String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the specified KeyValueTable within the specified scope.
ofKeyValueTableInScope(String, String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofKeyValueTablesInScope(String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the collection of Key-Value tables within the specified scope.
ofKeyValueTablesInScope(String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofReaderGroupInScope(String, String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the specified reader group within the specified scope.
ofReaderGroupInScope(String, String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofReaderGroupsInScope(String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the collection of reader groups within the specified scope.
ofReaderGroupsInScope(String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofScope(String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the specified scope.
ofScope(String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofScopes() - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the collection of scopes in the system.
ofScopes() - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofStreamInScope(String, String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the specified stream within the specified scope.
ofStreamInScope(String, String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 
ofStreamsInScope(String) - Method in interface io.pravega.shared.security.auth.AuthorizationResource
Creates a resource representation for use in authorization of actions pertaining to the collection of streams within the specified scope.
ofStreamsInScope(String) - Method in class io.pravega.shared.security.auth.AuthorizationResourceImpl
 

P

parse(AccessOperation, AuthHandler.Permissions) - Static method in class io.pravega.shared.security.auth.PermissionsHelper
Parse the specified accessOperationStr string and translate it to an AuthHandler.Permissions object.
parse(String, byte[]) - Static method in class io.pravega.shared.security.token.JwtParser
 
PasswordAuthHandlerInput - Class in io.pravega.shared.security.auth
This is a helper class for tests and may be used for generating the input file for the PasswordAuthHandler - the default AuthHandler implementation.
PasswordAuthHandlerInput(String, String) - Constructor for class io.pravega.shared.security.auth.PasswordAuthHandlerInput
 
PasswordAuthHandlerInput.Entry - Class in io.pravega.shared.security.auth
 
PermissionsHelper - Class in io.pravega.shared.security.auth
Helper methods for permissions.
PermissionsHelper() - Constructor for class io.pravega.shared.security.auth.PermissionsHelper
 
postEntries(List<PasswordAuthHandlerInput.Entry>) - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput
 
postEntry(PasswordAuthHandlerInput.Entry) - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput
 

R

READ - io.pravega.shared.security.auth.AccessOperation
Represents reads.
READ_WRITE - io.pravega.shared.security.auth.AccessOperation
Represents reads and writes (inserts, updates and deletes).

S

saltLength(int) - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor.StrongPasswordProcessorBuilder
 
StrongPasswordProcessor - Class in io.pravega.shared.security.crypto
This class implements a a `PBKDF2WithHmacSHA1` based password digest creator and validator.
StrongPasswordProcessor.StrongPasswordProcessorBuilder - Class in io.pravega.shared.security.crypto
 

T

toAuthHandlerPermissions(AccessOperation) - Static method in class io.pravega.shared.security.auth.PermissionsHelper
Translates the specified accessOperation to an AuthHandler.Permissions object.
toCompactString() - Method in class io.pravega.shared.security.token.JsonWebToken
Returns the 3 part JWT string representation.
toString() - Method in class io.pravega.shared.security.auth.PasswordAuthHandlerInput.Entry
 
toString() - Method in class io.pravega.shared.security.auth.UserPrincipal
 
toString() - Method in class io.pravega.shared.security.crypto.StrongPasswordProcessor.StrongPasswordProcessorBuilder
 
toString() - Method in class io.pravega.shared.security.token.JsonWebToken
 

U

UNSPECIFIED - io.pravega.shared.security.auth.AccessOperation
No operation specified.
UserPrincipal - Class in io.pravega.shared.security.auth
A Principal represents an identity (of a subject).
UserPrincipal(String) - Constructor for class io.pravega.shared.security.auth.UserPrincipal
Constructs a Principal representing the given user name.

V

valueOf(String) - Static method in enum io.pravega.shared.security.auth.AccessOperation
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.pravega.shared.security.auth.AccessOperation
Returns an array containing the constants of this enum type, in the order they are declared.

W

WRITE - io.pravega.shared.security.auth.AccessOperation
Represents inserts, updates and deletes.
A B C D E F G H I J K N O P R S T U V W 
All Classes All Packages