
112 Developing Applications for J2EE Servers
Editing the resource adapter descriptors
For more information about resource adapters and the J2EE Connector Architecture,
see these articles on the web:
■
“The Java 2, Enterprise Edition (J2EE) Connector Architecture’s Resource Adapter”
at
http://developer.java.sun.com/developer/technicalArticles/J2EE/
connectorclient/resourceadapter.html
■
“J2EE Connector Architecture” at http://java.sun.com/j2ee/connector/.
■
“J2EE Connector Architecture” at http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/
Connector.html
, which is part of Sun’s J2EE Tutorial.
Expand the resource adapter node in the structure pane to see the subnodes. Which
subnodes appear depends on which version of the Connector standard you are using.
To add a new node of any of these types, right-click the node and choose Add.
Authentication Mechanism page
Connector modules have an Authentication Mechanism node in the structure pane.
Expand the Resource Adapter node to see it.
If you add a Authentication Mechanism node, it looks like this:
These are the fields on this page:
■
Type: Use the drop-down list to specify the type as BasicPassword or Kerbv5,
meaning a Kerboros version 5 authentication mechanism.
■
Credential Interface: Use the drop-down list to specify the interface. If you chose
the BasicPassword type, select the
PasswordCredential interface, which
encapsulates a user name and password. If you chose the Kerbv5 type, select the
GenericCredential interface, which defines a way to access the security credentials
of a Principal.
■
Description: Use the optional Description field to specify any resource adapter
specific requirement for the support of security contract and authentication
mechanism.
Komentarze do niniejszej Instrukcji