Posts

Showing posts from December, 2013

Building an EAR file from Command Prompt

You can use the buildear  utility to build an EAR. Using a command prompt, change directory to %TRA_HOME%\bin, and then issue the following command: buildear -x -v -o %location%\output.ear -p %designer_project_path% -x  Overwrites the existing file -v  Validates the project for errors -o  Full path of the EAR file -p  Path of the Designer project folder

Enabling LDAP Authentication in TIBCO Web Service

You can enable basic authentication in a Service configuration resource by checking Use Basic Authentication under Endpoint Bindings tab. This will require username and password every time the web service is invoked. If you want to authenticate against an LDAP server, you can enable the BW engine to use Java Authentication and Authorization Service (JAAS) LDAP Login Module. You can create an LDAP group and authorize all users belonging to that group to have access to your web service. To do this, you have to add the following engine properties to the TRA file: java.property.com.tibco.bw.security.login.jaas = true java.property.java.security.auth.login.config = <location>/jaas.conf jaas.conf is a configuration file that defines the filtering rules and largely depends on the LDAP language. Sample content is as follows: AuthenticationService { com.sun.security.auth.module.LdapLoginModule REQUIRED userProvider="ldap://myldapserver.com:447/cn=GroupName,ou=groups,o