Skip navigation links
A B D E G H I J K L N O P R S T U V 

A

AbstractJwt - Class in de.samply.bbmri.auth.client.jwt
The abstract client-side Jwt used to verify a serialized Jwt using the providers public key.
AbstractJwt(OAuth2Client, String) - Constructor for class de.samply.bbmri.auth.client.jwt.AbstractJwt
Initializes this Jwt with an OAuth2Client configuration and the serialized string.
AbstractJwt(PublicKey, String) - Constructor for class de.samply.bbmri.auth.client.jwt.AbstractJwt
Initializes this Jwt with a public key and the serialized string.
ACCESS_TOKEN - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary.TokenType
 
AccessTokenDto - Class in de.samply.bbmri.auth.rest
The access token data transfer object.
AccessTokenDto() - Constructor for class de.samply.bbmri.auth.rest.AccessTokenDto
 
AccessTokenRequestDto - Class in de.samply.bbmri.auth.rest
An access token request data transfer object.
AccessTokenRequestDto() - Constructor for class de.samply.bbmri.auth.rest.AccessTokenRequestDto
 

B

builder - Variable in class de.samply.bbmri.auth.client.jwt.Jwt
 

D

de.samply.bbmri.auth.client.jwt - package de.samply.bbmri.auth.client.jwt
Contains all Jwt implementations.
de.samply.bbmri.auth.rest - package de.samply.bbmri.auth.rest
Contains all data transfer objects for the REST Interface of Samply.Auth
de.samply.bbmri.auth.utils - package de.samply.bbmri.auth.utils
Contains utilities like the HashUtils and the OAuth2ClientConfig classes.
DESCRIPTION - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

E

EMAIL - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
EXTERNAL_LABEL - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

G

getAccessToken() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
 
getBase64DerFormat() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
Todo.
getBuilder() - Method in class de.samply.bbmri.auth.client.jwt.Jwt
Todo.
getClaimsSet() - Method in class de.samply.bbmri.auth.client.jwt.AbstractJwt
Returns all claims.
getClientId() - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Getter for the field clientId.
getClientSecret() - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Getter for the field clientSecret.
getCode() - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Getter for the field code.
getDerFormat() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
getDescription() - Method in class de.samply.bbmri.auth.rest.RoleDto
 
getEmail() - Method in class de.samply.bbmri.auth.rest.UserDto
Todo.
getExpirationDate() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getExpiresIn() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
Todo.
getExponent() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
getExtended() - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Todo.
getFingerPrint(String) - Static method in class de.samply.bbmri.auth.utils.HashUtils
Returns the fingerprint of the given Base64 encoded key.
getGroupNames() - Method in class de.samply.bbmri.auth.rest.UserDto
 
getHeader() - Method in class de.samply.bbmri.auth.client.jwt.JwtAccessToken
Returns the string that must be used in the "Authorization" header.
getHeader() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
Returns the string that must be used in HTTP request headers.
getHost(OAuth2Client, String) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Todo.
getIdentifier() - Method in class de.samply.bbmri.auth.rest.RoleDto
 
getIdentifier() - Method in enum de.samply.bbmri.auth.rest.Scope
Get the identifier.
getIdToken() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
getIssuedAt() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getIssuer() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getJti() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getJwtid() - Method in class de.samply.bbmri.auth.client.jwt.Jwt
Todo.
getKeyId() - Method in class de.samply.bbmri.auth.rest.KeyIdentificationDto
getKeyId() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
getKeys() - Method in class de.samply.bbmri.auth.rest.OAuth2Keys
getKeyType() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
getLocalRedirectUrl(OAuth2Client, String, String, int, String, String) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Creates a URL for the current host.
getLocalRedirectUrl(String, String, int, String, String) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Creates a URL for the current host.
getLogoutUrl(OAuth2Client, String, String, int, String, String) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Returns the logout URL for Samply Auth.
getMembers() - Method in class de.samply.bbmri.auth.rest.RoleDto
 
getModulesN() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
getName() - Method in class de.samply.bbmri.auth.rest.RoleDto
 
getName() - Method in class de.samply.bbmri.auth.rest.UserDto
Todo.
getNotBefore() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getPhone() - Method in class de.samply.bbmri.auth.rest.UserDto
 
getPublicKey() - Method in class de.samply.bbmri.auth.client.jwt.AbstractJwt
Returns the public key that has been used to verify this Jwt.
getRedirectUrl(OAuth2Client, String, String, int, String, String, Scope...) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Constructs the URL to the OAuth2 provider, using the provided configuration.
getRedirectUrl(OAuth2Client, String, String, int, String, String, String, Scope...) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Constructs the URL to the OAuth2 provider, using the provided configuration.
getRedirectUrlRegisterPerun(OAuth2Client, String, String, int, String, String, String, Scope...) - Static method in class de.samply.bbmri.auth.utils.OAuth2ClientConfig
Constructs the URL for the perun registration page, using the provided configuration.
getRefreshToken() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
 
getRefreshToken() - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Getter for the field refreshToken.
getRoles() - Method in class de.samply.bbmri.auth.client.jwt.JwtIdToken
Returns a list of roles.
getRoles() - Method in class de.samply.bbmri.auth.rest.RoleListDto
 
getScope() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
 
getScope() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getScopes() - Method in class de.samply.bbmri.auth.client.jwt.JwtAccessToken
Returns all scopes this access token was issued for.
getScopes() - Method in class de.samply.bbmri.auth.client.jwt.JwtRefreshToken
Returns the scopes this refresh token was issued for.
getSerialized() - Method in class de.samply.bbmri.auth.client.jwt.AbstractJwt
Returns the serialized string of this Jwt.
getSha512Hash() - Method in class de.samply.bbmri.auth.rest.KeyIdentificationDto
getSignature() - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Getter for the field signature.
getState() - Method in class de.samply.bbmri.auth.client.jwt.JwtAccessToken
Returns the included state from the request.
getSub() - Method in class de.samply.bbmri.auth.rest.UserDto
 
getSubject() - Method in class de.samply.bbmri.auth.client.jwt.AbstractJwt
Returns the subject.
getSubject() - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
getTokenType() - Method in class de.samply.bbmri.auth.client.jwt.AbstractJwt
This method must return one of the currently defined token types.
getTokenType() - Method in class de.samply.bbmri.auth.client.jwt.JwtAccessToken
 
getTokenType() - Method in class de.samply.bbmri.auth.client.jwt.JwtIdToken
 
getTokenType() - Method in class de.samply.bbmri.auth.client.jwt.JwtRefreshToken
 
getTokenType() - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
Todo.
getUse() - Method in class de.samply.bbmri.auth.rest.OAuth2Key
getUsers() - Method in class de.samply.bbmri.auth.rest.UserListDto
 

H

hash(String, byte[]) - Static method in class de.samply.bbmri.auth.utils.HashUtils
Hashes the input byte array using the given algorithm and returns the string hex representation.
HashUtils - Class in de.samply.bbmri.auth.utils
This class offers some basic hash algorithms that are convenient to use.
HashUtils() - Constructor for class de.samply.bbmri.auth.utils.HashUtils
 
HOK_TOKEN - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary.TokenType
 

I

ID_TOKEN - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary.TokenType
 
isExtended() - Method in class de.samply.bbmri.auth.client.jwt.JwtAccessToken
Checks if there this is an extended access token.
isValid() - Method in class de.samply.bbmri.auth.client.jwt.AbstractJwt
Checks if this Jwt is valid.
isValid() - Method in class de.samply.bbmri.auth.client.jwt.JwtIdToken
Checks if this Jwt is valid.

J

Jwt - Class in de.samply.bbmri.auth.client.jwt
A basic Jwt that contains an expiration date and a "not-before" date that describe the validity of this Jwt.
Jwt(String, int) - Constructor for class de.samply.bbmri.auth.client.jwt.Jwt
Initializes this Jwt with the given type and hours of validity from now on.
JwtAccessToken - Class in de.samply.bbmri.auth.client.jwt
The client side Jwt access token.
JwtAccessToken(PublicKey, String) - Constructor for class de.samply.bbmri.auth.client.jwt.JwtAccessToken
JwtAccessToken(OAuth2Client, String) - Constructor for class de.samply.bbmri.auth.client.jwt.JwtAccessToken
JwtException - Exception in de.samply.bbmri.auth.client.jwt
Thrown when an exception occurs while verifying a signature or deserializing a Jwt.
JwtException(String) - Constructor for exception de.samply.bbmri.auth.client.jwt.JwtException
Constructor for JwtException.
JwtException(Throwable) - Constructor for exception de.samply.bbmri.auth.client.jwt.JwtException
Constructor for JwtException.
JwtIdToken - Class in de.samply.bbmri.auth.client.jwt
The client side Jwt OpenID Token.
JwtIdToken(OAuth2Client, String) - Constructor for class de.samply.bbmri.auth.client.jwt.JwtIdToken
JwtIdToken(String, PublicKey, String) - Constructor for class de.samply.bbmri.auth.client.jwt.JwtIdToken
JwtInvalidSignatureFormatException - Exception in de.samply.bbmri.auth.client.jwt
Thrown when the signature has an invalid format.
JwtInvalidSignatureFormatException() - Constructor for exception de.samply.bbmri.auth.client.jwt.JwtInvalidSignatureFormatException
Constructor for JwtInvalidSignatureFormatException.
JwtKeyMissmatchException - Exception in de.samply.bbmri.auth.client.jwt
Thrown when the providers key can not be used to verify a signature (e.g. when the Jwt is signed using RSA and SHAx, but the key is an elliptic curve key).
JwtKeyMissmatchException() - Constructor for exception de.samply.bbmri.auth.client.jwt.JwtKeyMissmatchException
Constructor for JwtKeyMissmatchException.
JwtParseException - Exception in de.samply.bbmri.auth.client.jwt
Thrown when the Jwt can not be parsed (e.g. it does not consist of three parts separated by a dot).
JwtParseException(Throwable) - Constructor for exception de.samply.bbmri.auth.client.jwt.JwtParseException
Constructor for JwtParseException.
JwtRefreshToken - Class in de.samply.bbmri.auth.client.jwt
The client side Jwt refresh token.
JwtRefreshToken(OAuth2Client, String) - Constructor for class de.samply.bbmri.auth.client.jwt.JwtRefreshToken
JwtRefreshToken(PublicKey, String) - Constructor for class de.samply.bbmri.auth.client.jwt.JwtRefreshToken
JwtVocabulary - Class in de.samply.bbmri.auth.client.jwt
A class with all static string that are used in JWTs.
JwtVocabulary() - Constructor for class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
JwtVocabulary.TokenType - Class in de.samply.bbmri.auth.client.jwt
 

K

KEY - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
KeyIdentificationDto - Class in de.samply.bbmri.auth.rest
An object that identifies a key either by its ID or by its SHA512 hashed DER formatted public key.
KeyIdentificationDto() - Constructor for class de.samply.bbmri.auth.rest.KeyIdentificationDto
 
KeyLoader - Class in de.samply.bbmri.auth.client.jwt
A small helper, that loads RSA keys from Base64 encoded values.

L

LANG - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
loadKey(String, String) - Static method in class de.samply.bbmri.auth.client.jwt.KeyLoader
Generates a RSA public key by using the modulus and public exponent.
loadKey(String) - Static method in class de.samply.bbmri.auth.client.jwt.KeyLoader
Generates a RSA public key by using the base64 encoded DER formatted public key (X509).
loadPrivateKey(String) - Static method in class de.samply.bbmri.auth.client.jwt.KeyLoader
Generates a RSA private key by using the base64 encoded DER formatted private key (PKCS8 DER format).
loadPublicRsaKey(PrivateKey) - Static method in class de.samply.bbmri.auth.client.jwt.KeyLoader
Uses the given private RSA key to create the public key.
LOCATION_CONTACT - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
LOCATION_DESCRIPTION - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
LOCATION_IDENTIFIER - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
LOCATION_NAME - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
LOCATIONS - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

N

NAME - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
NONCE - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

O

OAuth2ClientConfig - Class in de.samply.bbmri.auth.utils
A small helper used to generate URLs to the identity provider.
OAuth2ClientConfig() - Constructor for class de.samply.bbmri.auth.utils.OAuth2ClientConfig
 
OAuth2Key - Class in de.samply.bbmri.auth.rest
A public key that can be used to verify signatures.
OAuth2Key() - Constructor for class de.samply.bbmri.auth.rest.OAuth2Key
 
OAuth2Keys - Class in de.samply.bbmri.auth.rest
A list of keys used by this identity provider.
OAuth2Keys() - Constructor for class de.samply.bbmri.auth.rest.OAuth2Keys
 

P

PERMISSIONS - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

R

REFRESH_TOKEN - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary.TokenType
 
ROLE_DESCRIPTION - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
ROLE_IDENTIFIER - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
ROLE_NAME - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
RoleDto - Class in de.samply.bbmri.auth.rest
Created by paul on 4/22/16.
RoleDto() - Constructor for class de.samply.bbmri.auth.rest.RoleDto
 
RoleListDto - Class in de.samply.bbmri.auth.rest
Created by paul on 4/22/16.
RoleListDto() - Constructor for class de.samply.bbmri.auth.rest.RoleListDto
 
ROLES - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

S

SCOPE - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 
Scope - Enum in de.samply.bbmri.auth.rest
A scope is a permission that will be included in the access token.
setAccessToken(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
setBase64DerFormat(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
Todo.
setClientId(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
setClientSecret(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
setCode(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
setDerFormat(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
setDescription(String) - Method in class de.samply.bbmri.auth.rest.RoleDto
 
setEmail(String) - Method in class de.samply.bbmri.auth.rest.UserDto
Todo.
setExpirationDate(long) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setExpiresIn(int) - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
Todo.
setExponent(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
setExtended(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
Todo.
setGroupNames(List<String>) - Method in class de.samply.bbmri.auth.rest.UserDto
 
setIdentifier(String) - Method in class de.samply.bbmri.auth.rest.RoleDto
 
setIdToken(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
setIssuedAt(long) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setIssuer(String) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setJti(String) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setKeyId(int) - Method in class de.samply.bbmri.auth.rest.KeyIdentificationDto
setKeyId(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
setKeys(List<OAuth2Key>) - Method in class de.samply.bbmri.auth.rest.OAuth2Keys
setKeyType(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
setMembers(List<UserDto>) - Method in class de.samply.bbmri.auth.rest.RoleDto
 
setModulesN(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
setName(String) - Method in class de.samply.bbmri.auth.rest.RoleDto
 
setName(String) - Method in class de.samply.bbmri.auth.rest.UserDto
Todo.
setNotBefore(long) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setPhone(String) - Method in class de.samply.bbmri.auth.rest.UserDto
 
setRefreshToken(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
 
setRefreshToken(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
setRoles(List<RoleDto>) - Method in class de.samply.bbmri.auth.rest.RoleListDto
 
setScope(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenDto
 
setScope(List<String>) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setSha512Hash(String) - Method in class de.samply.bbmri.auth.rest.KeyIdentificationDto
setSignature(String) - Method in class de.samply.bbmri.auth.rest.AccessTokenRequestDto
setSub(String) - Method in class de.samply.bbmri.auth.rest.UserDto
 
setSubject(String) - Method in class de.samply.bbmri.auth.rest.TokenInfoDto
setUse(String) - Method in class de.samply.bbmri.auth.rest.OAuth2Key
setUsers(Collection<UserDto>) - Method in class de.samply.bbmri.auth.rest.UserListDto
 
sha1(String) - Static method in class de.samply.bbmri.auth.utils.HashUtils
Hashes the input string with the SHA-1 algorithm and returns the string hex representation.
sha1(byte[]) - Static method in class de.samply.bbmri.auth.utils.HashUtils
Hashes the byte array with the SHA-1 algorithm and returns the string hex representation.
sha512(String) - Static method in class de.samply.bbmri.auth.utils.HashUtils
Hashes the input string with the SHA-512 algorithm and returns the string hex representation.
sha512(byte[]) - Static method in class de.samply.bbmri.auth.utils.HashUtils
Hashes the input byte array with the SHA-512 algorithm and returns the string hex representation.
sign(PrivateKey) - Method in class de.samply.bbmri.auth.client.jwt.Jwt
 
STATE - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

T

TokenInfoDto - Class in de.samply.bbmri.auth.rest
This Token information DTO represents all necessary informations about an access token.
TokenInfoDto() - Constructor for class de.samply.bbmri.auth.rest.TokenInfoDto
 
TokenType() - Constructor for class de.samply.bbmri.auth.client.jwt.JwtVocabulary.TokenType
 
TYPE - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

U

UserDto - Class in de.samply.bbmri.auth.rest
Represents a User registered in Samply Auth.
UserDto() - Constructor for class de.samply.bbmri.auth.rest.UserDto
 
UserListDto - Class in de.samply.bbmri.auth.rest
Created by paul on 27.10.16.
UserListDto() - Constructor for class de.samply.bbmri.auth.rest.UserListDto
 
USERTYPE - Static variable in class de.samply.bbmri.auth.client.jwt.JwtVocabulary
 

V

valueOf(String) - Static method in enum de.samply.bbmri.auth.rest.Scope
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.samply.bbmri.auth.rest.Scope
Returns an array containing the constants of this enum type, in the order they are declared.
A B D E G H I J K L N O P R S T U V 
Skip navigation links

Copyright © 2020 Samply Community. All rights reserved.