Class HvlAuthOidcAuthorityMatchChecker

java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.oidc.checker.HvlAuthOidcAuthorityMatchChecker

@Component public class HvlAuthOidcAuthorityMatchChecker extends Object
HvlAuthOidcAuthorityMatchChecker is a util bean which checks whether authority matches
  • Constructor Details

    • HvlAuthOidcAuthorityMatchChecker

      public HvlAuthOidcAuthorityMatchChecker(HvlAuthOidcProperties authOidcProperties, tr.com.havelsan.javarch.security.context.configuration.properties.HvlMethodSecurityProperties methodSecurityProperties)
      Instantiates a new HvlAuthOidcAuthorityMatchChecker.
      Parameters:
      authOidcProperties - the auth oidc properties
      methodSecurityProperties - the method security properties
  • Method Details

    • anyAuthorityMatchesScope

      public boolean anyAuthorityMatchesScope(Set<String> authorizedScopeSet, Set<String> hvlAuthoritySet)
      Any authority matches scope boolean.
      Parameters:
      authorizedScopeSet - the authorized scope set
      hvlAuthoritySet - the hvl authority set
      Returns:
      the boolean