Jump to content

Skip the login page using ACEGI-JAAS


vsoneta

Recommended Posts

 

  
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.
 
 
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 :
 
SSO Filter:  DoFilter called
SSO Filter:  Chaining to next filter
SSO Filter:  DoFilter called
SSO Filter:  Chaining to next filter
SSO Filter:  DoFilter called
SSO Filter:  Chaining to next filter
SSO Filter:  DoFilter called
SSO Filter:  Chaining to next filter
SSOLoginModule:  Initialize called
SSOLoginModule:  Subject = Subject:
 
SSOLoginModule:  CallbackHandler = javax.security.auth.login.LoginContext$SecureCallbackHandler@1eee3fb
SSOLoginModule:  Login called
SSOCallbackHandler:  Handle called
SSOCallbackHandler:  NameCallback passed
SSOCallbackHandler:  Found username = sonetav
SSOCallbackHandler:  Found request
SSOCallbackHandler:  SSOCallbackHandler: 
SSOLoginModule:  Found user!  sonetav
SSOLoginModule:  Commit called
SSOLoginModule:  Subject = Subject:
            Principal: com.dierbergs.auth.JAAS.SSOPrincipal@87144dd5
 
SSOLoginModule:  Committed = true
SSOAuthorityGranter:  Grant called
11:00:01,312  WARN LoggerListener,ajp-8009-2:55 - Authentication event AuthenticationSuccessEvent: sonetav; details: null
11: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 called
SSO Filter:  Chaining to next filter
11:00:02,233  WARN UserAuthorityServiceImpl,ajp-8009-2:618 - Added following external roles to: sonetav
ROLE_USER
 
11:00:02,233  WARN UserAuthorityServiceImpl,ajp-8009-2:654 - Updated user: sonetav. Roles are now:
ROLE_AD_Internet_-_Corporate_Users_Full
ROLE_AD_Developer_Server_Administrators
ROLE_AD_Application_Development
ROLE_ADMINISTRATOR
ROLE_AD_SQLServer_Admins
ROLE_AD_allsubscribers62740734
ROLE_AD_allsubscribers0dca2bce
ROLE_AD_IT_Developers
ROLE_AD_Website_Developers
ROLE_USER
ROLE_AD_CentralOffice
ROLE_AD_Server_Administrators
ROLE_AD_(AA)_All_Central_Office_Employees
ROLE_AD_VPN_Access
ROLE_AD_Information_Technology
 
11:00:02,296  WARN UserAuthorityServiceImpl,ajp-8009-2:660 - Updated user: sonetav. Roles are now:
ROLE_AD_Internet_-_Corporate_Users_Full
ROLE_AD_Developer_Server_Administrators
ROLE_AD_Application_Development
ROLE_ADMINISTRATOR
ROLE_AD_SQLServer_Admins
ROLE_AD_allsubscribers62740734
ROLE_AD_allsubscribers0dca2bce
ROLE_AD_IT_Developers
ROLE_AD_Website_Developers
ROLE_USER
ROLE_AD_CentralOffice
ROLE_AD_Server_Administrators
ROLE_AD_(AA)_All_Central_Office_Employees
ROLE_AD_VPN_Access
ROLE_AD_Information_Technology
 
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...