Jump to content
We've recently updated our Privacy Statement, available here ×

custom SSO in jasper using tokenbase authentication


sandeep.hari

Recommended Posts

hi,

i'm trying to implement SSO in jasper using Token based authentication.The user is authenticated in external application and token is send via http header.

I need to read the header and get the respective user and his roles and load jasper.

 

I followed the procedure mentioned in jasper cookbook v6.0.1.but unable to configure those beans in "applicationContext-externalAuth-Preauth.xml".

i want to have my custom jars for authenticating token and redirecting him to load jasper according to his roles.

 

While tried to redirect to jasper after configuring .i'm getting (error:404 jasperserver-pro not found) in browser.Please help me in configuring and developing custom jars for Token base authenticaton

thanks in advance.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Just follow the instrucciones on http://community.jaspersoft.com/documentation/tibco-jasperreports-server-authentication-cookbook/v610/token-based-authentication

1 - Stop Tomcat

2- Copy from the install samples folder sample-applicationContext-externalAuth-preauth[-mt].xml to webapps/jasperserver[-pro]/WEB_INF/applicationContext-externalAuth-preauth.xml

3- Edit /applicationContext-externalAuth-preauth.xml and configure the token format to your needs http://community.jaspersoft.com/documentation/tibco-jasperreports-server-authentication-cookbook/v610/token-based-authentication#Configur , is always better to first try the plain text fromat that comes in the sample to see that all is OK

4- If you go by encrypting the token (You SHOULD!!) then create your decryption class http://community.jaspersoft.com/documentation/tibco-jasperreports-server-authentication-cookbook/v610/token-based-authentication#TokenDecryption

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...