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

A

AccessTokenCache - Interface in org.bremersee.security.authentication
The access token cache interface.
AccessTokenCache.Builder - Interface in org.bremersee.security.authentication
The builder interface.
AccessTokenCache.Builder.Impl - Class in org.bremersee.security.authentication
The builder implementation.
AccessTokenCacheImpl - Class in org.bremersee.security.authentication
The access token cache implementation.
AccessTokenCacheImpl() - Constructor for class org.bremersee.security.authentication.AccessTokenCacheImpl
Instantiates a new access token cache.
AccessTokenCacheImpl(Duration, String) - Constructor for class org.bremersee.security.authentication.AccessTokenCacheImpl
Instantiates a new access token cache.
AccessTokenCacheImpl(Cache) - Constructor for class org.bremersee.security.authentication.AccessTokenCacheImpl
Instantiates a new access token cache.
AccessTokenCacheImpl(Cache, Duration, String) - Constructor for class org.bremersee.security.authentication.AccessTokenCacheImpl
Instantiates a new access token cache.
AccessTokenProvider<T> - Interface in org.bremersee.security.authentication
The access token provider.
AccessTokenRetriever<T> - Interface in org.bremersee.security.authentication
Retrieve the access token from the identity provider.
AccessTokenRetrieverAuthenticationException - Exception in org.bremersee.exception
The access token retriever authentication exception.
AccessTokenRetrieverAuthenticationException(HttpStatus, String) - Constructor for exception org.bremersee.exception.AccessTokenRetrieverAuthenticationException
Instantiates a new access token retriever authentication exception.
AccessTokenRetrieverProperties - Interface in org.bremersee.security.authentication
The access token retriever properties.
add(String, String...) - Method in class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
Adds an additional property on builder.
add(String, String...) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Adds an additional property on builder.
AuthenticationDetails - Interface in org.bremersee.security.authentication
The authentication details interface.

B

BasicAuthProperties - Interface in org.bremersee.security.authentication
The basic auth properties.
BasicAuthProperties.Builder - Class in org.bremersee.security.authentication
The basic auth properties builder.
build() - Method in interface org.bremersee.security.authentication.AccessTokenCache.Builder
Build access token cache.
build() - Method in class org.bremersee.security.authentication.AccessTokenCache.Builder.Impl
 
build() - Method in class org.bremersee.security.authentication.BasicAuthProperties.Builder
Build basic auth properties.
build() - Method in class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
Build client credentials flow properties.
build() - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Build password flow properties.
builder() - Static method in interface org.bremersee.security.authentication.AccessTokenCache
Creates a new builder.
builder() - Static method in interface org.bremersee.security.authentication.BasicAuthProperties
Returns a new basic auth properties builder.
builder() - Static method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
Returns a builder for client credentials flow properties.
builder() - Static method in interface org.bremersee.security.authentication.PasswordFlowProperties
Returns a builder for password flow properties.
Builder() - Constructor for class org.bremersee.security.authentication.BasicAuthProperties.Builder
 
Builder() - Constructor for class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
 
Builder() - Constructor for class org.bremersee.security.authentication.PasswordFlowProperties.Builder
 

C

CACHE_NAME - Static variable in interface org.bremersee.security.authentication.AccessTokenCache
The constant CACHE_NAME.
callWithOptionalUserContext(Function<UserContext, R>) - Method in class org.bremersee.security.core.UserContextCaller
Call with optional user context.
callWithRequiredUserContext(Function<UserContext, R>) - Method in class org.bremersee.security.core.UserContextCaller
Call with required user context.
ClientCredentialsFlowProperties - Interface in org.bremersee.security.authentication
The client credentials flow properties.
ClientCredentialsFlowProperties.Builder - Class in org.bremersee.security.authentication
The builder implementation.
clientId(String) - Method in class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
Sets client id on builder.
clientId(String) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Sets client id on builder.
clientSecret(String) - Method in class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
Sets client secret on builder.
clientSecret(String) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Sets client secret on builder.
convert(Jwt) - Method in class org.bremersee.security.authentication.JsonPathJwtConverter
 
createBody() - Method in interface org.bremersee.security.authentication.AccessTokenRetrieverProperties
Create http request body.
createBody() - Method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
 
createBody() - Method in interface org.bremersee.security.authentication.PasswordFlowProperties
 
createCacheKey() - Method in interface org.bremersee.security.authentication.AccessTokenRetrieverProperties
Create cache key.
createCacheKey() - Method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
 
createCacheKey() - Method in interface org.bremersee.security.authentication.PasswordFlowProperties
 
createCacheKeyHashed() - Method in interface org.bremersee.security.authentication.AccessTokenRetrieverProperties
Create an hashed cache key.

D

destroy() - Method in class org.bremersee.security.authentication.AccessTokenCacheImpl
 

E

EMPTY_GROUPS_SUPPLIER - Static variable in class org.bremersee.security.core.UserContextCaller
The constant EMPTY_GROUPS_SUPPLIER.

F

findAccessToken(String) - Method in interface org.bremersee.security.authentication.AccessTokenCache
Find not expired access token from cache.
findAccessToken(String) - Method in class org.bremersee.security.authentication.AccessTokenCacheImpl
 
FORBIDDEN_SUPPLIER - Static variable in class org.bremersee.security.core.UserContextCaller
The constant FORBIDDEN_SUPPLIER.
from(ClientCredentialsFlowProperties) - Method in class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
Gets the values from the given client credentials flow properties.
from(ClientCredentialsFlowProperties) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Gets the values from the given properties.

G

getAccessToken() - Method in interface org.bremersee.security.authentication.AccessTokenProvider
Gets access token.
getAdditionalProperties() - Method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
Gets additional properties.
getBasicAuthProperties() - Method in interface org.bremersee.security.authentication.AccessTokenRetrieverProperties
Gets basic auth properties.
getBasicAuthProperties() - Method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
 
getBasicAuthProperties() - Method in interface org.bremersee.security.authentication.PasswordFlowProperties
 
getClientId() - Method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
Gets client id.
getClientSecret() - Method in interface org.bremersee.security.authentication.ClientCredentialsFlowProperties
Gets client secret.
getDefaultLocale() - Method in interface org.bremersee.security.authentication.AuthenticationDetails
Gets default locale.
getDefaultLocale() - Method in class org.bremersee.security.authentication.JsonPathJwtAuthenticationDetails
 
getDefaultTimeZone() - Method in interface org.bremersee.security.authentication.AuthenticationDetails
Gets default time zone.
getDefaultTimeZone() - Method in class org.bremersee.security.authentication.JsonPathJwtAuthenticationDetails
 
getExpirationTime(String) - Static method in interface org.bremersee.security.authentication.AccessTokenCache
Gets expiration time.
getGroups() - Method in interface org.bremersee.security.core.UserContext
Gets groups.
getName() - Method in interface org.bremersee.security.core.UserContext
 
getPassword() - Method in interface org.bremersee.security.authentication.BasicAuthProperties
Gets password.
getPassword() - Method in interface org.bremersee.security.authentication.PasswordFlowProperties
Gets password.
getPreferredLanguage(Authentication) - Method in interface org.bremersee.security.authentication.AuthenticationDetails
Gets preferred language.
getPreferredLanguage(Authentication) - Method in class org.bremersee.security.authentication.JsonPathJwtAuthenticationDetails
 
getPreferredLanguageNullSafe(Authentication) - Method in interface org.bremersee.security.authentication.AuthenticationDetails
Gets preferred language null safe.
getPreferredTimeZone(Authentication) - Method in interface org.bremersee.security.authentication.AuthenticationDetails
Gets preferred time zone.
getPreferredTimeZone(Authentication) - Method in class org.bremersee.security.authentication.JsonPathJwtAuthenticationDetails
 
getPreferredTimeZoneNullSafe(Authentication) - Method in interface org.bremersee.security.authentication.AuthenticationDetails
Gets preferred time zone null safe.
getRoles() - Method in interface org.bremersee.security.core.UserContext
Gets roles.
getTokenEndpoint() - Method in interface org.bremersee.security.authentication.AccessTokenRetrieverProperties
Gets token endpoint.
getUserId() - Method in interface org.bremersee.security.core.UserContext
Gets user id.
getUsername() - Method in interface org.bremersee.security.authentication.BasicAuthProperties
Gets username.
getUsername() - Method in interface org.bremersee.security.authentication.PasswordFlowProperties
Gets username.

H

hasAnyRole(String...) - Method in interface org.bremersee.security.core.UserContext
Has any role boolean.
hasAnyRole(Collection<String>) - Method in interface org.bremersee.security.core.UserContext
Has any role boolean.
hasRole(String) - Method in interface org.bremersee.security.core.UserContext
Has role boolean.

I

Impl() - Constructor for class org.bremersee.security.authentication.AccessTokenCache.Builder.Impl
 
Impl() - Constructor for class org.bremersee.security.core.UserContext.Impl
Instantiates a new user context.
Impl(String, Collection<String>, Collection<String>) - Constructor for class org.bremersee.security.core.UserContext.Impl
Instantiates a new user context.
Impl(Authentication, Collection<String>) - Constructor for class org.bremersee.security.core.UserContext.Impl
Instantiates a new user context.
IpAddressMatcher - Class in org.bremersee.security
Matches a request based on IP Address or subnet mask matching against the remote address.
IpAddressMatcher(String) - Constructor for class org.bremersee.security.IpAddressMatcher
Takes a specific IP address or a range specified using the IP/Netmask (e.g. 192.168.1.0/24 or 202.24.0.0/14).
isExpired(String, Duration) - Static method in interface org.bremersee.security.authentication.AccessTokenCache
Checks whether the access token is expired.
isInAnyGroup(String...) - Method in interface org.bremersee.security.core.UserContext
Is in any group boolean.
isInAnyGroup(Collection<String>) - Method in interface org.bremersee.security.core.UserContext
Is in any group boolean.
isInGroup(String) - Method in interface org.bremersee.security.core.UserContext
Is in group boolean.
isUserIdPresent() - Method in interface org.bremersee.security.core.UserContext
Determines whether the user id is present or not.

J

JsonPathJwtAuthenticationDetails - Class in org.bremersee.security.authentication
The json path jwt authentication details.
JsonPathJwtAuthenticationDetails(Locale, TimeZone, String, String) - Constructor for class org.bremersee.security.authentication.JsonPathJwtAuthenticationDetails
Instantiates a new json path jwt authentication details.
JsonPathJwtConverter - Class in org.bremersee.security.authentication
The json path jwt converter.
JsonPathJwtConverter() - Constructor for class org.bremersee.security.authentication.JsonPathJwtConverter
 

M

matches(String) - Method in class org.bremersee.security.IpAddressMatcher
Matches an IPv6 and IPv4 address.

N

newInstance() - Static method in interface org.bremersee.security.core.UserContext
New instance user context.
newInstance(String, Collection<String>, Collection<String>) - Static method in interface org.bremersee.security.core.UserContext
New instance user context.
newInstance(Authentication, Collection<String>) - Static method in interface org.bremersee.security.core.UserContext
New instance user context.

O

org.bremersee.exception - package org.bremersee.exception
 
org.bremersee.security - package org.bremersee.security
 
org.bremersee.security.authentication - package org.bremersee.security.authentication
 
org.bremersee.security.core - package org.bremersee.security.core
 

P

parse(String) - Static method in interface org.bremersee.security.authentication.AccessTokenCache
Parse jwt.
password(String) - Method in class org.bremersee.security.authentication.BasicAuthProperties.Builder
Sets password on builder.
password(String) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Sets password on builder.
PasswordFlowProperties - Interface in org.bremersee.security.authentication
The password flow properties.
PasswordFlowProperties.Builder - Class in org.bremersee.security.authentication
The builder implementation.
putAccessToken(String, String) - Method in interface org.bremersee.security.authentication.AccessTokenCache
Put new access token into the cache.
putAccessToken(String, String) - Method in class org.bremersee.security.authentication.AccessTokenCacheImpl
 

R

responseWithOptionalUserContext(Function<UserContext, R>) - Method in class org.bremersee.security.core.UserContextCaller
Response with optional user context response entity.
responseWithRequiredUserContext(Function<UserContext, R>) - Method in class org.bremersee.security.core.UserContextCaller
Response with required user context response entity.
RestTemplateAccessTokenRetriever - Class in org.bremersee.security.authentication
The rest template access token retriever.
RestTemplateAccessTokenRetriever(RestTemplate) - Constructor for class org.bremersee.security.authentication.RestTemplateAccessTokenRetriever
Instantiates a new rest template access token retriever.
RestTemplateAccessTokenRetriever(RestTemplate, AccessTokenCache) - Constructor for class org.bremersee.security.authentication.RestTemplateAccessTokenRetriever
Instantiates a new rest template access token retriever.
retrieveAccessToken(AccessTokenRetrieverProperties) - Method in interface org.bremersee.security.authentication.AccessTokenRetriever
Retrieve the access token from the identity provider.
retrieveAccessToken(AccessTokenRetrieverProperties) - Method in class org.bremersee.security.authentication.RestTemplateAccessTokenRetriever
 

S

setNameJsonPath(String) - Method in class org.bremersee.security.authentication.JsonPathJwtConverter
Sets name json path.
setRolePrefix(String) - Method in class org.bremersee.security.authentication.JsonPathJwtConverter
Sets role prefix.
setRolesJsonPath(String) - Method in class org.bremersee.security.authentication.JsonPathJwtConverter
Sets roles json path.
setRolesValueList(boolean) - Method in class org.bremersee.security.authentication.JsonPathJwtConverter
Sets roles value list.
setRolesValueSeparator(String) - Method in class org.bremersee.security.authentication.JsonPathJwtConverter
Sets roles value separator.
status() - Method in exception org.bremersee.exception.AccessTokenRetrieverAuthenticationException
 

T

tokenEndpoint(String) - Method in class org.bremersee.security.authentication.ClientCredentialsFlowProperties.Builder
Sets token endpoint on builder.
tokenEndpoint(String) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Sets token endpoint on builder.
toResponseEntity(R) - Method in class org.bremersee.security.core.UserContextCaller
To response entity response entity.
toString() - Method in class org.bremersee.security.authentication.AccessTokenCacheImpl
 

U

UserContext - Interface in org.bremersee.security.core
The user context.
UserContext.Impl - Class in org.bremersee.security.core
The default implementation.
UserContextCaller - Class in org.bremersee.security.core
The user context caller.
UserContextCaller() - Constructor for class org.bremersee.security.core.UserContextCaller
Instantiates a new user context caller.
UserContextCaller(Function<Authentication, Set<String>>) - Constructor for class org.bremersee.security.core.UserContextCaller
Instantiates a new user context caller.
UserContextCaller(Function<Authentication, Set<String>>, Supplier<ServiceException>) - Constructor for class org.bremersee.security.core.UserContextCaller
Instantiates a new user context caller.
UserContextCaller(Supplier<Set<String>>) - Constructor for class org.bremersee.security.core.UserContextCaller
Instantiates a new user context caller.
UserContextCaller(Supplier<Set<String>>, Supplier<ServiceException>) - Constructor for class org.bremersee.security.core.UserContextCaller
Instantiates a new user context caller.
username(String) - Method in class org.bremersee.security.authentication.BasicAuthProperties.Builder
Sets username on builder.
username(String) - Method in class org.bremersee.security.authentication.PasswordFlowProperties.Builder
Sets username on builder.

W

withExpirationTimeThreshold(Duration) - Method in class org.bremersee.security.authentication.AccessTokenCache.Builder.Impl
 
withExpirationTimeThreshold(Duration) - Method in interface org.bremersee.security.authentication.AccessTokenCache.Builder
With expiration time threshold.
withExternalCache(Cache) - Method in class org.bremersee.security.authentication.AccessTokenCache.Builder.Impl
 
withExternalCache(Cache) - Method in interface org.bremersee.security.authentication.AccessTokenCache.Builder
With external cache.
withKeyPrefix(String) - Method in class org.bremersee.security.authentication.AccessTokenCache.Builder.Impl
 
withKeyPrefix(String) - Method in interface org.bremersee.security.authentication.AccessTokenCache.Builder
With key prefix.
A B C D E F G H I J M N O P R S T U W 
All Classes All Packages