A B C D E G H I N O P S U V 

A

AccessControl - Annotation Type in org.sklsft.commons.rest.security.annotations
Used to indicates a rest controller method which AccessControlType must be considered by the AccessControlAspect
AccessControlAspect - Class in org.sklsft.commons.rest.security.aspect
The aspect responsible for getting http request security headers
Depending on the AccessControlType, the aspect will check the secretKey, the token, and provide a security context when necessary
AccessControlAspect(SecurityContextProvider<?>, SecretKeyValidator) - Constructor for class org.sklsft.commons.rest.security.aspect.AccessControlAspect
 
AccessControlType - Enum in org.sklsft.commons.rest.security.validation
Different Access control types provided by annotation AccessControl PUBLIC : no control should be done ANONYMOUS : the only secretKey will be checked PRIVATE : both secretKey and token will be checked

B

bindCredentials(Object) - Static method in class org.sklsft.commons.rest.security.context.SecurityContextHolder
 

C

clearSecurityContext() - Method in class org.sklsft.commons.rest.security.aspect.SecurityContextProvider
 
CredentialsConflictException - Exception in org.sklsft.commons.rest.security.exception
 
CredentialsConflictException(String) - Constructor for exception org.sklsft.commons.rest.security.exception.CredentialsConflictException
 
CredentialsConflictException(String, Throwable) - Constructor for exception org.sklsft.commons.rest.security.exception.CredentialsConflictException
 

D

decode(String) - Method in class org.sklsft.commons.rest.security.context.impl.SecurityCredentialsEncoderImpl
 
decode(String) - Method in interface org.sklsft.commons.rest.security.context.SecurityCredentialsEncoder
 

E

encode(T) - Method in class org.sklsft.commons.rest.security.context.impl.SecurityCredentialsEncoderImpl
 
encode(T) - Method in interface org.sklsft.commons.rest.security.context.SecurityCredentialsEncoder
 

G

getCurrentCredentials() - Static method in class org.sklsft.commons.rest.security.context.SecurityContextHolder
 

H

handleAuthentication(ProceedingJoinPoint) - Method in class org.sklsft.commons.rest.security.aspect.AccessControlAspect
 

I

InvalidTokenException - Exception in org.sklsft.commons.rest.security.exception
 
InvalidTokenException(String) - Constructor for exception org.sklsft.commons.rest.security.exception.InvalidTokenException
 
InvalidTokenException(String, Throwable) - Constructor for exception org.sklsft.commons.rest.security.exception.InvalidTokenException
 

N

NoBoundCredentialsException - Exception in org.sklsft.commons.rest.security.exception
 
NoBoundCredentialsException(String) - Constructor for exception org.sklsft.commons.rest.security.exception.NoBoundCredentialsException
 
NoBoundCredentialsException(String, Throwable) - Constructor for exception org.sklsft.commons.rest.security.exception.NoBoundCredentialsException
 

O

org.sklsft.commons.rest.security.annotations - package org.sklsft.commons.rest.security.annotations
 
org.sklsft.commons.rest.security.aspect - package org.sklsft.commons.rest.security.aspect
 
org.sklsft.commons.rest.security.context - package org.sklsft.commons.rest.security.context
 
org.sklsft.commons.rest.security.context.impl - package org.sklsft.commons.rest.security.context.impl
 
org.sklsft.commons.rest.security.exception - package org.sklsft.commons.rest.security.exception
 
org.sklsft.commons.rest.security.validation - package org.sklsft.commons.rest.security.validation
 

P

provideSecurityContext(String) - Method in class org.sklsft.commons.rest.security.aspect.SecurityContextProvider
 

S

SecretKeyValidator - Interface in org.sklsft.commons.rest.security.validation
The implementation of this interface should only check the secretKey provided by the AccessControlAspect is valid
SecurityContextHolder - Class in org.sklsft.commons.rest.security.context
A security context is handled by a ThreadLocal
SecurityContextHolder() - Constructor for class org.sklsft.commons.rest.security.context.SecurityContextHolder
 
SecurityContextProvider<T> - Class in org.sklsft.commons.rest.security.aspect
this class is responsible for creating and destroying a security context given a token this security context will be handled by a ThreadLocal so that it will be accessible in the hole Thread execution's scope
SecurityContextProvider(SecurityCredentialsEncoder<T>, SecurityCredentialsValidator<T>) - Constructor for class org.sklsft.commons.rest.security.aspect.SecurityContextProvider
 
SecurityCredentialsEncoder<T> - Interface in org.sklsft.commons.rest.security.context
used to encode/decode a SecurityCredentials as a String
SecurityCredentialsEncoderImpl<T> - Class in org.sklsft.commons.rest.security.context.impl
imlementation of a SecurityCredentialsEncoder that uses an ObjectEncoder
SecurityCredentialsEncoderImpl(ObjectEncoder, Class<T>) - Constructor for class org.sklsft.commons.rest.security.context.impl.SecurityCredentialsEncoderImpl
 
SecurityCredentialsValidator<T> - Interface in org.sklsft.commons.rest.security.validation
 

U

unbindCredentials() - Static method in class org.sklsft.commons.rest.security.context.SecurityContextHolder
 

V

validateCredentials(T) - Method in interface org.sklsft.commons.rest.security.validation.SecurityCredentialsValidator
 
validateSecretKey(String) - Method in interface org.sklsft.commons.rest.security.validation.SecretKeyValidator
 
valueOf(String) - Static method in enum org.sklsft.commons.rest.security.validation.AccessControlType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sklsft.commons.rest.security.validation.AccessControlType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I N O P S U V 

Copyright © 2016. All rights reserved.