LiveCycle Data Services for Java EE 4.6 now available

Here’s another announcement! LiveCycle Data Services version 4.6 is now generally available. It is the latest update to the JEE or LiveCycle version of Data Services and it is a feature-rich major release, including expanded support for mobile applications (HTML5/JavaScript, native iOS and Java/Google Android), adds an SAP Connector, introduces managed remoting, and enhancements to model driven development and the offline synchronization framework.

For more information check out the following two sites:

Product overview on Adobe.com: http://www.adobe.com/products/livecycle/dataservices/

LiveCycle Developer Center on the Adobe Developer Connection: http://www.adobe.com/devnet/livecycle/dataservices.html

For existing customers with maintenance and support contracts, the Data Services 4.6 release along with Flash Builder 4.6 has been automatically pushed into your Licence Web Site (LWS) account. This includes ADEP/LiveCycle V10 customers that have licence rights to Data Services.

Juergen Hauser – Sr. Product Manager – LiveCycle Data Services

Posted in ADEP, Adobe LiveCycle ES3, Experience Services, General Interest | Tagged | 1 Comment

ADEP/LiveCycle v10 SP1 Now Available

I’m pleased to announce that the first service pack for ADEP/LiveCycle v10 is now available. It is made up of two parts; Document Services SP1 for the LiveCycle Modules (Forms, Output, Reader Extensions, Process management …) and Experience Services SP1 (update to Experience Services Quick Start containing Mosaic and Experience Services based Data Services).

The service pack extends support to Flash Builder 4.6 which has been made available to all customers with ADEP/LiveCycle v10 in their Adobe License Web Site (LWS) accounts.

The Document Services SP1 is available at this link along with Readme for both Document Services and Experience Services parts – please read and follow for complete installation instructions for both parts. An Adobe ID is required to access the page. The Experience Services SP1 is now available on Package Share.

Neal Davies – Sr. Product Manager – LiveCycle

Posted in ADEP, Adobe LiveCycle ES, Adobe LiveCycle ES2 (9.0.x), Adobe LiveCycle ES3, Customer Experience Solutions, Document Services, Experience Services, General Interest, Uncategorized | Tagged , , | 2 Comments

Using the i18n Translator

This week a colleague of mine showed me the default i18n translation functionality of CQ5.4 which I wasn’t aware of. And I don’t want to keep this one for myself.

It is available via this url : http://localhost:4502/libs/cq/i18n/translator.html (change host and port to your own needs).

Here’s an example of the UI that is presented with the translator:

You have a lot of options available around searching, exporting, importing etc.

Also, with the list-view Administrators can easily see what content is not yet translated.

Posted in ADEP | 4 Comments

Beyond String – @TypeHint to the Rescue

Based on some questions from a partner I had to investigate whether it was possible to store values for widgets you define as part of your CQ5 custom component as something else than String. Guess what…. it’s possible (not that I was surprised…).

Storing JCR content with a specific type is possible using the @TypeHint property, as is documented as part of the Apache SlingPostServlet (more specifically in the section on Controlling Content Updates with @ Suffixes).

However, how can @TypeHint be ‘reused’ such that also the properties of a custom component can be saved as something else than String? With some help of engineering, follows a tutorial…

Continue reading

Posted in ADEP, Experience Services | Tagged , , , | Leave a comment

Extended Authentication Scenarios

This blog describes the following scenarios with respect to customizing the Extended Authentication workflow for Rights Management, in Acrobat 10.1.1:

  1. Enabling Extended Authentication with the default ADEP Landing URL
  2. Enabling Extended Authentication with the Custom Landing URL
  3. Default Extended authentication workflow when Third Party Identity Providers are configured on ADEP Document Server
  4. Custom Extended authentication workflow when Third Party Identity Providers are configured on ADEP Document Server
  5. Using Customized page for listing SAML Authentications

SCENARIO 1 : Enable extended authentication with the default Adobe Landing URL

In this usecase, the Extended Authentication will work with the default settings. The default landing page has Adobe Branding.

  1. Log in to ADEP Admin UI.
  2. Go to Services -> Rights Management -> Configuration -> Server Configuration
  3. Enable the option ‘Allow Extended Authentication’
  4. In the Extended Authentication Landing URL, the default is :   http://localhost:8080/edc/extendedauthentication/welcome.jsp
  5. Replace localhost with the fully qualified host name.  (Note: Https protocol is recommended)
  6. Replace the port with a valid one.
  7. Save
  8. Create a policy that does not override global authentication options.
  9. Protect a PDF with such a policy.
  10. Open the policy in Acrobat 10.1 / Reader 10.1

Fig 1. Default Landing URL

 

SCENARIO 2: Enable extended authentication with a Custom Landing URL

In this Scenario, instead of using the Adobe branded Landing page, Users will see a customized Authentication dialog. A war needs to be created and deployed on the ADEP DOC SERVER .

Please note the following items, while implementing the custom war:

1. The html forms should be designed in such a way that after successful authentication the html page closes automatically (look at secure/welcome.jsp in the war)

2. You should pass the username as j_username and password as j_password from your authentication form. You also need to pass the source_url and login_url as hidden params. Check login.jsp in the war for reference.

 Steps:

  1. Create a custom war, sample.war, that has the logic to accept user credentials and authenticate against the ADEP Doc Server
  2. Deploy sample.war on the ADEP Doc Server
  3. In the Server Configuration page in Admin UI, enter the link to this sample.war
  4.  For eg. https://fully.qualified.server.name:8443/demo/welcome.jsp
  5.  Add entries in the Config.xml under the allowed URL for SSO redirect:
  •  Go to Settings -> User management -> Configuration -> Manual Configuration and  click on export to export the config.xml file.
  •  Edit the exported config.xml and search for <node name=AllowedUrls“> under SSO. Add the below mentioned entries in the map for this node:

                        <entry key=”sso-l” value=”/ sample_/login.jsp”/>

                        <entry key=”sso-s” value=”/ sample_/welcome.jsp”>

                         < entry key=”sso-o” value=”/ sample_/logout.jsp”/>

The following Dailog is seen when  a protected document is opened   in Acrobat 10.1 or Reader 10.1

Fig 2. Custom Landing URL

SCENARIO 3 : Default Extended authentication workflow when Third Party Identity Providers are configured on ADEP Document Server

Extended Authentication can also make use of the different types of Authentications available on ADEP DOC SERVER. If SAML Providers are configured on ADEP DOC SERVER, then before seeing the Landing URL , the Users will see a page where all the Identity Providers, configured for SAML Authentications are listed down

Prerequisite: Configure SAML authentication on ADEP DOC SERVER server

The following screen is shown when a protected document is opened up in Acrobat 10.1 /Reader 10.1

Fig 3. Identity Provider List Page

First Link takes the User to Group B Identity Provider Authentication page (Fig 4). Second link takes the User to Group A Identity Provider Authentication Page (Fig 4)Click here to go to the ADEP Login Page’ takes the User to the default Landing Page (Fig1)

Fig 4. Identity Provider Page

 

SCENARIO4: Custom Extended Authentication workflow when SAML Providers are configured on ADEP Doc Server

If SAML Providers are configured on ADEP DOC SERVER, then before seeing the Customized Landing URL , the Users will see a page where SAML Authentications are listed down

Prerequisites:

  1. SAML authentications are configured on ADEP DOC SERVER server
  2. Custom War is deployed on the Server

Fig 4.1 First Screen

Fig 4.2 Third Link ‘Click Here’

 

SCENARIO 5: USING CUSTOM PAGE FOR LISTING SAML AUTHENTICATIONS

Along with the Landing URL, ADEP Doc Server provides a way to customize the page that lists down all the Authentication providers, configured on ADEP Doc Server ( Fig 3 and Fig 4.1).

 Steps:

  1. Create a Custom JSP and include it in a war file, demoJSP.war . Refer to the Custom.war attached.
  2. Deploy demoJSP.war in ADEP Doc server
  3. In the Admin UI, go to Settings -> User Manager -> SAML Server provider Settings
  4. In the Custom properties Section, add the following:                     saml.sp.discovery.url=/demoJSP/saml_discovery.jsp
  5. Open the protected Document in Acrobat 10.1/Reader 10.1

Fig 5. Customized IDP List Page

 

Extended Authentication on Sandboxed mode of Reader

On Sandboxed mode of Reader 10.1.1, an additional verification is required, for extended authentication.If the User choses to ‘Always allow’ the URL to be added to the trusted URLS , then this verification will not appear again, for that server.

Fig 6. Extended Authentication in Sandboxed mode of Reader 10.1.1

Posted in ADEP, Document Services | Tagged , , , , | Leave a comment

Dynamic Routing of “Thank You” Pages

In CQ you have the form functionality available that allows you to create a form on a page, for each form you can specify a “thank you” page that will be displayed when the form is submitted.

In this blogpost I will explain how you conditionally can route to different thank you pages depending on the values entered by the user.

Continue reading

Posted in ADEP, Experience Services | Leave a comment

LiveCycle Business Update

On November 9th Adobe announced our focus on Digital Marketing and Digital Media.   In a recent blog post, our CEO Shantanu Narayen described Adobe’s transformation and plan to focus in these two areas.  I would like to provide some additional color to that message and what it means for LiveCycle, Adobe’s enterprise business and our customers.

The Adobe LiveCycle business will continue to pursue enhancements and new customers in select verticals such as government and financial services.  We will continue to support customers in all verticals.

We will maintain our investment in the product line in upcoming releases and we will continue to provide bug fixes, security updates, and support for new versions of operating systems, application servers, databases and browsers.

Over the years, we have built a large portfolio of LiveCycle customers and a large partner network.  The LiveCycle team looks forward to continuing to support our customers.

Dave Welch

Senior Director LiveCycle

Posted in ADEP, Adobe LiveCycle ES, Adobe LiveCycle ES2 (9.0.x), Adobe LiveCycle ES3, Document Services, Experience Services, General Interest | 13 Comments

Protocol to Configure a Basic “Shared-Nothing” Experience Server Cluster

In the ADEP release, the Experience Server “Quickstarts” come with a Java Content Repository (JCR) called CRX. This is horizontally scalable by clustering multiple nodes and putting a load balancer in the front.

TERMINOLOGY
———–
You can have a farm of multiple CRX nodes that are unaware of one another (not clustered, but only load-balanced). Adobe documentation calls this “Read-Only Clustering” but this is not really clustering in the traditional sense.

You can also have “true” clustering. It can be of three different types:

1) Shared Journal + Shared Data Store

2) Shared Data Store only (see Steve Forrest’s blog posts 1 and 2 on how to configure this)

3) Shared Nothing

#1 and #2 requires that you set up a network share using NFS, SAMBA or CIFS.

Continue reading

Posted in ADEP, Customer Experience Solutions, Experience Services | Tagged , , , | Leave a comment

How to Rotate the TarJournal in Shared Nothing Clustering

Problem: Your tar journal is growing and consuming a lot of space.
Solution: If you are using shared clustering, Please see this.

For ‘Shared Nothing’ Clustering, you need the following configuration (If you want rotation to happen after every 24 hours) in repository.xml

<Journal>
<param name=”maxFileSize” value=”104857600″ />
<param name=”maximumAge” value=”PT24H” />
</Journal>

Continue reading

Posted in ADEP | Tagged , | Leave a comment

Integrating twitter4j and CQ/WEM

Sometimes on a project you know that you just have to write a blogpost, because you struggled too long with an issue to get it resolved.

The goal :
We wanted to use the twitter4j api inside on our Java-classes in the CQ5.4 installation.

The development was ok, and via maven we used the following dependency to make the code work :

<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>[2.2,)</version>
</dependency>

So far so good, deployment is then the next step. We use the “maven-bundle-plugin” to generate the manifest file for the OSGi-bundle.
After the deployment, the following errors showed up in the system-console (http://localhost:4502/system/console/bundles/)

twitter4j — Cannot be resolved
twitter4j.conf — Cannot be resolved

And the status of the bundle was set to “Installed” and not “Resolved”

These errors were caused because I didn’t put the twitter4j packages in the <Export-Package> element of the “maven-bundle-plugin”.

Continue reading

Posted in ADEP, Experience Services | 2 Comments