14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Before you generate the SecurityAdminAppDef you might want to inspect the file<br />

locations properties, and change them if you have set other naming standards for these<br />

properties.<br />

The default settings are in line with what we recommend:<br />

• Generate all Main faces-config files in the WEB-INF directory with a suffix<br />

indicating the service<br />

• JhsCommon-beans.xml is shared by all services (application definitions); the<br />

location should never be changed.<br />

• Create a subdirectory per service for the generation of group beans faces<br />

config files, pages and regions. Make a subdirectory under this “service”<br />

directory for each of these file types.<br />

• The View Package property should be the same across all services<br />

• The Resource Bundle Type and NLS Resource Bundle properties should be<br />

the same across all services.<br />

Note that all service-level properties that are generally the same across all services have<br />

got the same values as in your “own” application definition. If you later on decide to<br />

make changes to these settings in your own application definition, then you will need to<br />

make the same change in the SecurityAdminAppDef Application Definition.<br />

As you can see in the above screen shot, the generated SecurityAdminAppDef file<br />

contains groups to maintain all <strong>JHeadstart</strong> security tables. Depending on your security<br />

settings, you may delete groups that maintain tables you will not use:<br />

• You can remove the Users, UserRoleGrants and RoleUserGrants groups if you<br />

use Authentication Type “JAAS” and Authorization Type “JAAS”.<br />

• You can remove the PermissionsLov, Permissions, and RolePermissionGrants<br />

groups if you unchecked the Authorize Using Group Permissions checkbox.<br />

Now, if you are satisfied with the settings, you can run the JAG for the<br />

SecurityAdminAppDef.<br />

10 - 10 Application Security <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!