Edit Authentication and Security Constraints
In the Security tabbed pane, you can define how the client
authenticates users to the server and which users have access
to a particular resource.
Choose the Authentication Method
- From the Authentication method menu, choose one of these
methods:
-
If you chose Basic authentication, you must enter 'Default' in the
Realm name field.
- If you chose Form authentication, you must fill in the Login Page and
Error Page fields.
Define Security Constraints
In the Security Constraints section of the screen, define the
for your .war file.
- To add a security constraint:
- Click Add.
- Click the Edit button adjacent to the Web Resource Collection
field to add a
to the security constraint.
- Click the Edit button adjacent to the Authorized Roles field
to add an
to the security constraint.
- From the Transport Guarantee menu, select the
, either
None,
, or
.
- To edit a security constraint:
- Select the security constraint from the list.
- To edit a web resource collection, click the Edit button
adjacent to the Web Resource Collection field.
- To edit an authorization constraint, click the Edit button
adjacent to the Authorized Roles field.
-
To delete a security constraint, select it from the Security Constraint
list and click Delete.
Copyright 1999, 2000 Sun
Microsystems,
Inc. All Rights Reserved.