Interface OidcTenantConfiguration.PrincipalRolesMapper.RegexMapping

Enclosing interface:
OidcTenantConfiguration.PrincipalRolesMapper

public static interface OidcTenantConfiguration.PrincipalRolesMapper.RegexMapping
  • Method Summary

    Modifier and Type
    Method
    Description
    A regular expression that will be applied to each role name in the identity.
    default String
     
    The replacement string for the role names in the identity.
  • Method Details

    • regex

      String regex()
      A regular expression that will be applied to each role name in the identity. Along with replacement(), this regex is used to transform the role names in the identity into Polaris-specific roles.
    • replacement

      String replacement()
      The replacement string for the role names in the identity. This is used along with regex() to transform the role names in the identity into Polaris-specific roles.
    • replace

      default String replace(String role)