Interface BlueriqAuthentication

All Superinterfaces:
org.springframework.security.core.Authentication, Principal, Serializable
All Known Subinterfaces:
BlueriqServiceAccount, OAuth2Authentication, TenantAwareOAuth2Authentication

public interface BlueriqAuthentication extends org.springframework.security.core.Authentication
Interface for custom authentication provider that allows the IAuthorisationManager to pick up roles, teams and properties and map them to IUserData without the need for custom code
Since:
11.6
Author:
Mihai Bob
  • Method Details

    • getTeams

      List<String> getTeams()
      Returns:
      the available teams. Never null
    • getRoles

      List<String> getRoles()
      Returns:
      the available roles. Never null
    • isAnonymous

      boolean isAnonymous()
      Returns:
      true if this user represents the anonymous user
    • isAutomatic

      boolean isAutomatic()
      Returns:
      true if this user represents the automatic user (Runtime Service Account)
    • getClaimNames

      Set<String> getClaimNames()
      Returns:
      the available claim names. Never null
    • getClaim

      List<String> getClaim(String name)
      Parameters:
      name - - the name of the claim to lookup
      Returns:
      - the claim values, or null if no claim with the given name exists