Class CommandRoles

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

    public class CommandRoles
    extends java.lang.Object
    implements scala.Product, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandRoles​(scala.collection.immutable.Map<CommandKey,​csw.aas.http.Roles> predefinedRoles)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CommandRoles empty()  
      static CommandRoles from​(com.typesafe.config.Config config)  
      boolean hasAccess​(CommandKey cmdKey, Subsystem subsystem, csw.aas.http.Roles rolesFromToken)  
      scala.collection.immutable.Map<CommandKey,​csw.aas.http.Roles> predefinedRoles()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • CommandRoles

        public CommandRoles​(scala.collection.immutable.Map<CommandKey,​csw.aas.http.Roles> predefinedRoles)
    • Method Detail

      • from

        public static CommandRoles from​(com.typesafe.config.Config config)
      • predefinedRoles

        public scala.collection.immutable.Map<CommandKey,​csw.aas.http.Roles> predefinedRoles()
      • hasAccess

        public boolean hasAccess​(CommandKey cmdKey,
                                 Subsystem subsystem,
                                 csw.aas.http.Roles rolesFromToken)