Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Alfresco Web Scripts
  • Toc
  • feedback
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

By : Ramesh Chauhan
4.5 (4)
close
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

4.5 (4)
By: Ramesh Chauhan

Overview of this book

If you are an Alfresco developer who has no experience with web scripts and you want to start developing Alfresco web scripts, then this book is definitely for you.
Table of Contents (12 chapters)
close
11
Index

Custom authenticator implementation


In order to access the web script securely, authentication is essential. The web script authenticator is the component behind providing the authenticated access to the web script. Let's first understand how authenticator implementation is referenced by the web script framework. If you take a look at web.xml under tomcat\webapps\alfresco\WEB-INF location inside your Alfresco-installed directory, you will find the <param-name>authenticator</param-name> entry under the <init-param> entries of a servlet, which is basically a request dispatcher servlet for web script execution. A request dispatcher servlet will use the mentioned authenticator while creating the web script runtime instance to serve the web script request.

The Spring bean ID for authenticator can be found under the <param-value> tag in web.xml under a servlet's init-param entries. The Spring bean entry can be found in web-scripts-application-context.xml or web-client-application...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete