Skip navigation links
C G N S V 

C

CsrfTokenKeyHolder - Interface in net.croz.nrich.security.csrf.api.holder
Holder for CSRF tokens and encryption keys.
CsrfTokenManagerService - Interface in net.croz.nrich.security.csrf.api.service
Generates, validates and refreshes CSRF tokens.

G

generateToken(CsrfTokenKeyHolder) - Method in interface net.croz.nrich.security.csrf.api.service.CsrfTokenManagerService
Generates token from key resolved from CsrfTokenKeyHolder if key is null a new key is generated and stored.
getCryptoKey() - Method in interface net.croz.nrich.security.csrf.api.holder.CsrfTokenKeyHolder
Returns key that was used to encrypt a CSRF token or null if no key is available.
getToken() - Method in interface net.croz.nrich.security.csrf.api.holder.CsrfTokenKeyHolder
Returns CSRF token or null if no token is present.

N

net.croz.nrich.security.csrf.api.holder - package net.croz.nrich.security.csrf.api.holder
 
net.croz.nrich.security.csrf.api.service - package net.croz.nrich.security.csrf.api.service
 

S

storeCryptoKey(Key) - Method in interface net.croz.nrich.security.csrf.api.holder.CsrfTokenKeyHolder
Stores crypto key
storeToken(String) - Method in interface net.croz.nrich.security.csrf.api.holder.CsrfTokenKeyHolder
Stores CSRF token.

V

validateAndRefreshToken(CsrfTokenKeyHolder) - Method in interface net.croz.nrich.security.csrf.api.service.CsrfTokenManagerService
Validates and refreshes CSRF token.
C G N S V 
Skip navigation links