Innerhalb
Nach weiteren Dokumenten suchenSupport-Ressourcen | Dieses Buch im PDF-Format herunterladen (1146 KB)
Aactivation-configSpecifies an activation configuration, which includes the runtime configuration properties of the message-driven bean in its operational environment. For example, this can include information about the name of a physical JMS destination. Matches and overrides the activation-config element in the ejb-jar.xml file. Superelementsmdb-resource-adapter (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the activation-config element. Table A–2 activation-config subelements
activation-config-propertySpecifies the name and value of an activation configuration property. Superelementsactivation-config (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the activation-config-property element. Table A–3 activation-config-property subelements
activation-config-property-nameSpecifies the name of an activation configuration property. Superelementsactivation-config-property (sun-ejb-jar.xml) Subelementsnone - contains data activation-config-property-valueSpecifies the value of an activation configuration property. Superelementsactivation-config-property (sun-ejb-jar.xml) Subelementsnone - contains data as-contextSpecifies the authentication mechanism used to authenticate the client. Superelementsior-security-config (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the as-context element. Table A–4 as-context Subelements
auth-methodSpecifies the authentication method. If the parent element is as-context, the only supported value is USERNAME_PASSWORD. If the parent element is login-config, specifies the authentication mechanism for the web service endpoint. As a prerequisite to gaining access to any web resources protected by an authorization constraint, a user must be authenticated using the configured mechanism. Superelementslogin-config (sun-web.xml), as-context (sun-ejb-jar.xml) Subelementsnone - contains data auth-realmJAAS is available on the ACC. Defines the optional configuration for a JAAS authentication realm. Authentication realms require provider-specific properties, which vary depending on what a particular implementation needs. For more information about how to define realms, see Realm Configuration in Sun Java System Application Server Platform Edition 9 Developer’s Guide. Superelementsclient-container (sun-acc.xml) SubelementsThe following table describes subelements for the auth-realm element. Table A–5 auth-realm subelement
AttributesThe following table describes attributes for the auth-realm element. Table A–6 auth-realm attributes
ExampleHere is an example of the default file realm: <auth-realm name="file" classname="com.sun.enterprise.security.auth.realm.file.FileRealm"> <property name="file" value="domain-dir/config/keyfile"/> <property name="jaas-context" value="fileRealm"/> </auth-realm> Which properties an auth-realm element uses depends on the value of the auth-realm element’s name attribute. The file realm uses file and jaas-context properties. Other realms use different properties. See Realm Configuration in Sun Java System Application Server Platform Edition 9 Developer’s Guide. |
|||||||||||||||||||||||||||||||||||||||||||||