Commit 4d562694 authored by Vibhuti Sharma [Microsoft]'s avatar Vibhuti Sharma [Microsoft]
Browse files

removing TODO

parent 364a6210
...@@ -55,11 +55,9 @@ public class AzureIstioSecurityFilter extends OncePerRequestFilter { ...@@ -55,11 +55,9 @@ public class AzureIstioSecurityFilter extends OncePerRequestFilter {
.orElse(DEFAULT_ROLE_CLAIM); .orElse(DEFAULT_ROLE_CLAIM);
// By default the authenticated is set to true as part PreAuthenticatedAuthenticationToken constructor. // By default the authenticated is set to true as part PreAuthenticatedAuthenticationToken constructor.
// TODO: check where the claims were being set in case of ADSecurityConfig
SecurityContextHolder SecurityContextHolder
.getContext() .getContext()
.setAuthentication( .setAuthentication(
// TODO: check if aadIssuedBearerToken parameter should be null here
new PreAuthenticatedAuthenticationToken( new PreAuthenticatedAuthenticationToken(
new UserPrincipal(null,null, claimsSet), new UserPrincipal(null,null, claimsSet),
null, null,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment