Interface TailormapUserDetails

All Superinterfaces:
Serializable, org.springframework.security.core.userdetails.UserDetails
All Known Implementing Classes:
TailormapOidcUser

public interface TailormapUserDetails extends Serializable, org.springframework.security.core.userdetails.UserDetails
  • Method Details

    • getAdditionalProperties

      Collection<TailormapAdditionalProperty> getAdditionalProperties()
    • getAdditionalGroupProperties

      Collection<TailormapAdditionalProperty> getAdditionalGroupProperties()
    • hasTruePropertyForKey

      default boolean hasTruePropertyForKey(String key)
      Returns true if any user or group Boolean property with the given key is true. If beside a true value, there are also properties with the same key but with any other value than true, the true value has precedence.
      Parameters:
      key - the key to look for
      Returns:
      true if a Boolean property with the key is present with a true value
    • streamAllPropertiesForKey

      default Stream<Object> streamAllPropertiesForKey(String key)
    • getOrganisation

      String getOrganisation()