# Visual Editor: Add Principal

Use to specify the name of a principal to add to a security role. You can enter a new principal name or choose from the names of previously entered principals.

This dialog box enables you to add the following properties:

Element | Description
--- | ---
Principal Name | Specifies the name of the principal assigned to a security role. The name of the principal must match a name specified on the GlassFish application server.
Class Name | (Optional) Specifies the implementation class.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.