vsoneta Posted May 5, 2009 Share Posted May 5, 2009 I am trying to configure ACEGI security using JAAS in Jasperserver. I have followed the instruction and still no success. Basically I am trying to achieve is, the users in Active directory should be able to login to jasperserver without having to reenter there username and password in jasperserver. And from the forums it was suggested to use ACEGI security and I accordingly configured it. I am able to get the user authenticated also but still getting the login page. The forum that I have used is : http://jasperforge.org/plugins/mwiki/index.php/Jasperserver/AuthenticationConfiguration Here I have used my own JAAS (Starting with SSO.., web.xml, applicationcontext-)which is also attached in this email and logs from tomcat are : Url : http://hq1svrdev001/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/testing/SampleReportCDS&LocationID=6&DepartmentID=2SSO Filter: DoFilter calledSSO Filter: Chaining to next filterSSO Filter: DoFilter calledSSO Filter: Chaining to next filterSSO Filter: DoFilter calledSSO Filter: Chaining to next filterSSO Filter: DoFilter calledSSO Filter: Chaining to next filterSSOLoginModule: Initialize calledSSOLoginModule: Subject = Subject: SSOLoginModule: CallbackHandler = javax.security.auth.login.LoginContext$SecureCallbackHandler@1eee3fbSSOLoginModule: Login calledSSOCallbackHandler: Handle calledSSOCallbackHandler: NameCallback passedSSOCallbackHandler: Found username = sonetavSSOCallbackHandler: Found requestSSOCallbackHandler: SSOCallbackHandler: SSOLoginModule: Found user! sonetavSSOLoginModule: Commit calledSSOLoginModule: Subject = Subject: Principal: com.dierbergs.auth.JAAS.SSOPrincipal@87144dd5 SSOLoginModule: Committed = trueSSOAuthorityGranter: Grant called11:00:01,312 WARN LoggerListener,ajp-8009-2:55 - Authentication event AuthenticationSuccessEvent: sonetav; details: null11:00:01,327 WARN LoggerListener,ajp-8009-2:55 - Authentication event InteractiveAuthenticationSuccessEvent: sonetav; details: org.acegisecurity.ui.WebAuthenticationDetails@255f8: RemoteIpAddress:"SOMETHING"; SessionId: "SOMETHING"SSO Filter: DoFilter calledSSO Filter: Chaining to next filter11:00:02,233 WARN UserAuthorityServiceImpl,ajp-8009-2:618 - Added following external roles to: sonetavROLE_USER 11:00:02,233 WARN UserAuthorityServiceImpl,ajp-8009-2:654 - Updated user: sonetav. Roles are now:ROLE_AD_Internet_-_Corporate_Users_FullROLE_AD_Developer_Server_AdministratorsROLE_AD_Application_DevelopmentROLE_ADMINISTRATORROLE_AD_SQLServer_AdminsROLE_AD_allsubscribers62740734ROLE_AD_allsubscribers0dca2bceROLE_AD_IT_DevelopersROLE_AD_Website_DevelopersROLE_USERROLE_AD_CentralOfficeROLE_AD_Server_AdministratorsROLE_AD_(AA)_All_Central_Office_EmployeesROLE_AD_VPN_AccessROLE_AD_Information_Technology 11:00:02,296 WARN UserAuthorityServiceImpl,ajp-8009-2:660 - Updated user: sonetav. Roles are now:ROLE_AD_Internet_-_Corporate_Users_FullROLE_AD_Developer_Server_AdministratorsROLE_AD_Application_DevelopmentROLE_ADMINISTRATORROLE_AD_SQLServer_AdminsROLE_AD_allsubscribers62740734ROLE_AD_allsubscribers0dca2bceROLE_AD_IT_DevelopersROLE_AD_Website_DevelopersROLE_USERROLE_AD_CentralOfficeROLE_AD_Server_AdministratorsROLE_AD_(AA)_All_Central_Office_EmployeesROLE_AD_VPN_AccessROLE_AD_Information_Technology Link to comment Share on other sites More sharing options...
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