Class UserRoleDecoderDflt

java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.auth.keycloak.UserRoleDecoderDflt
All Implemented Interfaces:
UserRoleDecoder

public class UserRoleDecoderDflt extends Object implements UserRoleDecoder
  • Constructor Details

    • UserRoleDecoderDflt

      public UserRoleDecoderDflt()
  • Method Details

    • init

      public void init(CoreSettings coreSettings)
      Description copied from interface: UserRoleDecoder
      Initialise the role decoder.
      Specified by:
      init in interface UserRoleDecoder
      Parameters:
      coreSettings - The CoreSettings to load setting from.
    • decodeUserRoles

      public void decodeUserRoles(String username, Set<String> roles, org.jooq.DSLContext dslContext)
      Description copied from interface: UserRoleDecoder
      Decode the given role for the user with the given name. Use the given DSLContext for any database access.
      Specified by:
      decodeUserRoles in interface UserRoleDecoder
      Parameters:
      username - The name of the user the role belongs to.
      roles - The roles to decode for the user.
      dslContext - The DSL Context for database access.