# securityRole

abstract fun securityRole(role: EarSecurityRole): DeploymentDescriptor(source)

Add a security role to the deployment descriptor.

#### Return

this.

#### Since

1.0

#### Parameters

role

The security role to add.

abstract fun securityRole(role: String): DeploymentDescriptor(source)

Add a security role to the deployment descriptor.

#### Return

this.

#### Since

1.0

#### Parameters

role

The name of the security role to add.

abstract fun securityRole(action: Action<in EarSecurityRole>): DeploymentDescriptor(source)

Add a security role to the deployment descriptor after configuring it with the given action.

#### Return

this.

#### Since

2.1

#### Parameters

action

an action to configure the security role