cancel
Showing results for 
Search instead for 
Did you mean: 

AAAR _ Publish

emorenofer
Champ in-the-making
Champ in-the-making
One question, it's possible to upload with AAAR_Publish.sh documents on Alfresco's Repository based on "New Version" of latest pdf document?

Name of PDF Document is the same…maybe yes or no?

Thanks!
11 REPLIES 11

sandeepreddy1
Star Contributor
Star Contributor
Hai Francesco,

I followed this link http://fcorti.com/pentaho-transparent-authentication/pentahota-configura
i created pentaho-transparent-authentication-mappings.json file in $PENTAHO-ROOT/pentaho-solutions/system and added following code

{
"testApp": {
"usernamesMap": {
"testUser": "pentahoUser"
},
"applicationName": "testApp"
},
"app1": {
"usernamesMap": {
"user0.1": "pentaho4",
"user0.0": "pentaho3"
},
"applicationName": "app1"
},
"showcase": {
"usernamesMap": {
"user0.2": "admin",
"user0.1": "pat",
"user0.0": "suzy",
"user0.3": "tiffany"
},
"applicationName": "showcase"
}
}

But when click on reports in alfresco it is asking pentaho username and password, i need to show reports without asking pentaho username and password .
i am attaching screenshots, can you please check once.

fcorti
Elite Collaborator
Elite Collaborator
Hi Sandeep,

During the AAAR installation, a file called
pentaho-transparent-authentication-mappings.json
is copied into the
<biserver>/pentaho_solutions/system
folder.

You can see the default content of the file in the original project on github:

https://github.com/fcorti/alfresco-audit-analysis-reporting/blob/master/Pentaho/AAAR-Pentaho-CE-v6-A...

My first suggestion is to check it is correctly working with the alfresco admin user (who is mapped to the pentaho admin user).
This module strictly depends on the network availability and most of the times it doesn't work for security reasons and not for application reasons.

Once it will work for the admin user, it will work for all the other users. 😉
To customize it for your needs, simply add a line to the usernamesMap array, for alfresco each user you want to admit to the pentaho access.
All the rest is a matter of permits over pentaho.

Please always remember to restart Pentaho at each modification of the json file.