AccessControlType must be considered by the AccessControlAspectAccessControlType, the aspect will check the
secretKey, the token, and provide a security context when necessaryAccessControl
PUBLIC : no control should be done
ANONYMOUS : the only secretKey will be checked
PRIVATE : both secretKey and token will be checkedSecurityContextHolder as for
credentials of tokenDocumentAccessControlAspect.SecurityContextHolder as for
credentials of token
the main difference between this class and
CryptedAppKeySecurityContextProvider is that the applicationkey is
considered here as plain text not token encrypting data by providing an
implemntation of ApplicationCredentialsRetriever you are free to
handle this key as you wantAccessControlAspect is validSecurityCredentialsEncoder that uses an ObjectEncoderCopyright © 2017. All rights reserved.