Adding users and groups to roles using an assembly tool
After creating new roles and assigning them to enterprise bean and web resources, use this task to add users and groups to roles with an assembly tool.
Before you begin
About this task
Note: This
procedure might not match the steps that are required when using your assembly tool,
or match the version of the assembly tool that you are using. You
should follow the instructions for the tool and version that you are
using.
To add users and groups to roles using an assembly tool, follow these steps:
Procedure
- In the Project Explorer view of an assembly tool, rclick an enterprise application project, or Enterprise Archive (EAR) file, and click Open With > Deployment Descriptor Editor. An application deployment descriptor editor opens on the EAR file. To access information about the editor, press F1 and click Application deployment descriptor editor.
- Click the Security tab and, under the main panel, click Add.
- In the Add Security Role wizard, name and describe the security role. Click Finish.
- Under WebSphere Bindings, select the user or group extension properties for the security role. Available values include: Everyone, All authenticated users, and Users/Groups.
- If you selected Users/Groups, click Add next to the Users or Groups pane. In the wizard that opens, specify a user or group name and click Finish. Repeat this step until you added all the users and groups to which the security role applies.
- Close the application deployment descriptor editor and, when prompted, click Yes to save the changes.
Results
지원된 구성: IBM®
확장 및 바인딩 파일의 경우 .xmi 또는 .xml 파일 이름 확장자는
Java EE 5 이전 애플리케이션이나 모듈을 사용하는지 또는
Java EE 5 이상 애플리케이션이나 모듈을 사용하는지 여부에 따라 달라집니다. IBM
확장 또는 바인딩 파일 이름은 ibm-*-ext.xmi 또는 ibm-*-bnd.xmi입니다.
여기서, *는 확장 또는 바인딩 파일의 유형입니다(예:
app, application, ejb-jar 또는 web). 다음 조건이 적용됩니다.
그러나 Java EE 5 이상 모듈은 Java EE 5 이전 파일이 포함되어 있고 .xmi 파일 이름 확장자가 사용된 애플리케이션에 있을 수 있습니다.
ibm-webservices-ext.xmi, ibm-webservices-bnd.xmi, ibm-webservicesclient-bnd.xmi, ibm-webservicesclient-ext.xmi, ibm-portlet-ext.xmi 파일은 .xmi 파일 확장자를 계속 사용합니다.
sptcfg
태스크 주제