private boolean isMatchingUserGroupKey ( final JsonNode node ) { return node . get ( aadAuthenticationProperties . getUserGroup ( ) . getKey ( ) ) . asText ( ) . equals ( aadAuthenticationProperties . getUserGroup ( ) . getValue ( ) ) ; }
Checks that the JSON Node is a valid User Group to extract User Groups from