abstract fun securityRole(role: EarSecurityRole): DeploymentDescriptor
Add a security role to the deployment descriptor.
role
- The security role to add.
Return
this.
abstract fun securityRole(role: String): DeploymentDescriptor
Add a security role to the deployment descriptor.
role
- The name of the security role to add.
Return
this.
abstract fun securityRole(action: Action<in EarSecurityRole>): DeploymentDescriptor
Add a security role to the deployment descriptor after configuring it with the given action.
action
- an action to configure the security role
Return
this.