Package csw.command.client.auth
Class CommandRoles
- java.lang.Object
-
- csw.command.client.auth.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()
-
-
-
Constructor Detail
-
CommandRoles
public CommandRoles(scala.collection.immutable.Map<CommandKey,csw.aas.http.Roles> predefinedRoles)
-
-
Method Detail
-
empty
public static CommandRoles empty()
-
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)
-
-