Class Rbac

java.lang.Object
org.gridgain.internal.rbac.Rbac
All Implemented Interfaces:
org.apache.ignite.internal.lang.Debuggable, org.apache.ignite.internal.manager.IgniteComponent

public class Rbac extends Object implements org.apache.ignite.internal.manager.IgniteComponent
RBAC management component.
  • Field Summary

    Fields inherited from interface org.apache.ignite.internal.lang.Debuggable

    INDENTATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Rbac(Executor authenticationExecutor, org.apache.ignite.internal.security.configuration.SecurityConfiguration securityConfiguration, org.apache.ignite.internal.eventlog.api.EventLog eventLog)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gridgain.internal.rbac.authorization.Authorizer
    Returns authorizer.
    void
    enableRbacFeature(boolean enabled)
    Sets the flag indicating that the security feature is enabled in the license.
    org.gridgain.internal.rbac.privileges.PrivilegeChecker
    Returns privilege checker.
    org.gridgain.internal.rbac.privileges.PrivilegeManagement
    Returns privilege management.
    org.gridgain.internal.rbac.assignments.RoleAssignmentManagement
    Returns role assignment management.
    org.gridgain.internal.rbac.roles.RoleManagement
    Returns role management.
    startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
     
    stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
     
    org.gridgain.internal.rbac.users.UserManagement
    Returns user management.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.ignite.internal.lang.Debuggable

    dumpState

    Methods inherited from interface org.apache.ignite.internal.manager.IgniteComponent

    beforeNodeStop, stopAsync
  • Constructor Details

    • Rbac

      public Rbac(Executor authenticationExecutor, org.apache.ignite.internal.security.configuration.SecurityConfiguration securityConfiguration, org.apache.ignite.internal.eventlog.api.EventLog eventLog)
      Constructor.
  • Method Details

    • userManagement

      public org.gridgain.internal.rbac.users.UserManagement userManagement()
      Returns user management.
    • roleManagement

      public org.gridgain.internal.rbac.roles.RoleManagement roleManagement()
      Returns role management.
    • roleAssignmentManagement

      public org.gridgain.internal.rbac.assignments.RoleAssignmentManagement roleAssignmentManagement()
      Returns role assignment management.
    • privilegeManagement

      public org.gridgain.internal.rbac.privileges.PrivilegeManagement privilegeManagement()
      Returns privilege management.
    • privilegeChecker

      public org.gridgain.internal.rbac.privileges.PrivilegeChecker privilegeChecker()
      Returns privilege checker.
    • authorizer

      public org.gridgain.internal.rbac.authorization.Authorizer authorizer()
      Returns authorizer.
    • startAsync

      public CompletableFuture<Void> startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      startAsync in interface org.apache.ignite.internal.manager.IgniteComponent
    • stopAsync

      public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      stopAsync in interface org.apache.ignite.internal.manager.IgniteComponent
    • enableRbacFeature

      public void enableRbacFeature(boolean enabled)
      Sets the flag indicating that the security feature is enabled in the license. Enables or disables authorization.
      Parameters:
      enabled - if true, authorization will be enabled (if enabled in the configuration).