Home Manual Reference Source
public class | source

Role

A standard or scoped role used when RBAC is turned on.

Static Member Summary

Static Public Members
public static get

Has all permissions except cannot read or write resources related to the administrative audit logging system.

public static get

Can read anything.

public static get

Like a Maintainer, but with permission to modify persistent configuration constrained to resources that are considered to be "application resources".

public static get

Operator permissions, plus can modify the persistent configuration.

public static get

A read-only role.

public static get

Monitor permissions, plus can modify runtime state, but cannot modify anything that ends up in the persistent configuration.

public static get

Has all permissions.

Member Summary

Public Members
public get
public get
public get
public get
public get
public get

Method Summary

Public Methods
public

Static Public Members

public static get ADMINISTRATOR source

Has all permissions except cannot read or write resources related to the administrative audit logging system.

public static get AUDITOR source

Can read anything. Can only modify the resources related to the administrative audit logging system.

public static get DEPLOYER source

Like a Maintainer, but with permission to modify persistent configuration constrained to resources that are considered to be "application resources". A deployment is an application resource. The messaging server is not. Items like datasources and JMS destinations are not considered to be application resources by default, but this is configurable.

public static get MAINTAINER source

Operator permissions, plus can modify the persistent configuration.

public static get MONITOR source

A read-only role. Cannot modify any resource.

public static get OPERATOR source

Monitor permissions, plus can modify runtime state, but cannot modify anything that ends up in the persistent configuration. Could, for example, restart a server.

public static get SUPER_USER source

Has all permissions. Equivalent to a JBoss AS 7 administrator.

Public Members

public get baseRole: Role source

Return:

Role

the base role if this is a scoped role, null otherwise.

public get id: string source

Return:

string

the unique ID of this role.

public get name: string source

Return:

string

the name of this role.

public get scope: string[] source

Return:

string[]

the scopes if this is a scoped role, an empty array otherwise.

public get scoped: boolean source

Return:

boolean

true if this is a scoped role, false otherwise.

public get standard: boolean source

Return:

boolean

true if this is a standard role, false otherwise.

Public Methods

public toString(): string source

Return:

string

a string representation of this role.