sandeep.hari Posted August 20, 2015 Posted August 20, 2015 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.
marianol Posted August 20, 2015 Posted August 20, 2015 Just follow the instrucciones on http://community.jaspersoft.com/documentation/tibco-jasperreports-server-authentication-cookbook/v610/token-based-authentication1 - Stop Tomcat2- Copy from the install samples folder sample-applicationContext-externalAuth-preauth[-mt].xml to webapps/jasperserver[-pro]/WEB_INF/applicationContext-externalAuth-preauth.xml3- 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 OK4- 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now