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

The Rock

Members
  • Posts

    12
  • Joined

  • Last visited

The Rock's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi all, i have my jrxmls on jasper server. i want to make a web service call to a get the .jsper object and using it will generate the pdf in java code. how to achieve this pls suggest.
  2. i resolved the problem calling j_spring_security_check from url and passing the j_username and j_password there as parameters.
  3. Hi, I have made external DB configuration . I am able to login from jasper's login page giving organization,username,pasword in textboxes. But while trying to login by sending credentials from URL(by j_username,j_password) it is not authenticating. How to do that ? Anyone from jaspersoft Staffs who can help me ??????????
  4. Hi, During external DB authentication process i am getting the Bad Credentials. The error in log i found is, 2013-10-24 16:05:03,949 DEBUG ProviderManager,http-8050-9:183 - Authentication attempt using com.jaspersoft.jasperserver.multipleTenancy.MTDaoAuthenticationProvider 2013-10-24 16:05:03,949 DEBUG ProviderManager,http-8050-9:183 - Authentication attempt using com.jaspersoft.jasperserver.multipleTenancy.MTDaoAuthenticationProvider 2013-10-24 16:05:03,972 DEBUG ProviderManager,http-8050-9:183 - Authentication attempt using com.jaspersoft.jasperserver.multipleTenancy.security.externalAuth.db.MTExternalDaoAuthenticationProvider 2013-10-24 16:05:03,972 DEBUG ProviderManager,http-8050-9:183 - Authentication attempt using com.jaspersoft.jasperserver.multipleTenancy.security.externalAuth.db.MTExternalDaoAuthenticationProvider 2013-10-24 16:05:04,032 WARN LoggerListener,http-8050-9:60 - Authentication event AuthenticationFailureBadCredentialsEvent: test; details: com.jaspersoft.jasperserver.multipleTenancy.MTWebAuthenticationDetails@fffde5d4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: B69C339E098C3A7A88545731E63FFC84; exception: Bad credentials 2013-10-24 16:05:04,032 WARN LoggerListener,http-8050-9:60 - Authentication event AuthenticationFailureBadCredentialsEvent: test; details: com.jaspersoft.jasperserver.multipleTenancy.MTWebAuthenticationDetails@fffde5d4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: B69C339E098C3A7A88545731E63FFC84; exception: Bad credentials 2013-10-24 16:05:04,033 DEBUG HttpSessionContextIntegrationFilter,http-8050-9:255 - SecurityContextHolder now cleared, as request processing completed 2013-10-24 16:05:04,033 DEBUG HttpSessionContextIntegrationFilter,http-8050-9:255 - SecurityContextHolder now cleared, as request processing completed Any one please suggest me...
  5. I am trying to connecting jasper server authenticating from a external DB. There i am trying to modify in the file applicationContext-externalAuth-db-mt.xml as below, <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd"> <!-- ########## External JDBC Auth ########### - Sample configuration of JasperServer authentication via an external database --> <bean id="proxyAuthenticationProcessingFilter" class="com.jaspersoft.jasperserver.api.security.externalAuth.BaseAuthenticationProcessingFilter"> <property name="authenticationManager"> <ref local="dbAuthenticationManager"/> </property> <property name="externalDataSynchronizer"> <ref local="externalDataSynchronizer"/> </property> <property name="sessionRegistry"> <ref bean="sessionRegistry"/> </property> <property name="authenticationDetailsSource"> <bean class="org.springframework.security.ui.AuthenticationDetailsSourceImpl"> <property name="clazz"> <value>com.jaspersoft.jasperserver.multipleTenancy.MTWebAuthenticationDetails</value> </property> </bean> </property> <property name="internalAuthenticationFailureUrl" value="/login.html?error=15"/> <property name="defaultTargetUrl" value="/loginsuccess.html"/> <property name="invalidateSessionOnSuccessfulAuthentication" value="true"/> <property name="migrateInvalidatedSessionAttributes" value="true"/> </bean> <bean id="proxyAuthenticationSoapProcessingFilter" class="com.jaspersoft.jasperserver.api.security.externalAuth.DefaultAuthenticationSoapProcessingFilter"> <property name="authenticationManager" ref="dbAuthenticationManager"/> <property name="externalDataSynchronizer" ref="externalDataSynchronizer"/> <property name="invalidateSessionOnSuccessfulAuthentication" value="true"/> <property name="migrateInvalidatedSessionAttributes" value="true"/> </bean> <bean id="proxyBasicProcessingFilter" class="com.jaspersoft.jasperserver.api.security.externalAuth.ExternalAuthBasicProcessingFilter"> <property name="authenticationManager" ref="dbAuthenticationManager"/> <property name="externalDataSynchronizer" ref="externalDataSynchronizer"/> <property name="authenticationEntryPoint"> <ref local="basicProcessingFilterEntryPoint"/> </property> </bean> <bean id="proxyAuthenticationRestProcessingFilter" class="com.jaspersoft.jasperserver.api.security.externalAuth.DefaultAuthenticationRestProcessingFilter"> <property name="authenticationManager"> <ref local="dbAuthenticationManager"/> </property> <property name="externalDataSynchronizer"> <ref local="externalDataSynchronizer"/> </property> <property name="filterProcessesUrl" value="/rest/login"/> <property name="invalidateSessionOnSuccessfulAuthentication" value="true"/> <property name="migrateInvalidatedSessionAttributes" value="true"/> </bean> <bean id="dbAuthenticationManager" class="org.springframework.security.providers.ProviderManager"> <property name="providers"> <list> <ref bean="externalDaoAuthenticationProvider"/> <ref bean="${bean.daoAuthenticationProvider}"/> </list> </property> </bean> <bean id="externalDaoAuthenticationProvider" class="org.springframework.security.providers.dao.DaoAuthenticationProvider"> <property name="userDetailsService"><ref bean="externalUserDetailsService"/></property> </bean> <bean id="externalUserDetailsService" class="com.jaspersoft.jasperserver.multipleTenancy.security.externalAuth.db.MTExternalJDBCUserDetailsService"> <property name="dataSource" ref="externalDataSource"/> <property name="usersByUsernameAndTenantNameQuery" value="select su.user_id username,su.password,su.tenant_id tenantid from USER_TABLE su where su.user_id=? and su.tenant_id=?"/> <property name="authoritiesByUsernameQuery" value="SELECT u.user_id username, r.role_name rolename FROM USER_TABLE u, USER_ROLE ur WHERE u.user_id = ur.user_id and u.user_id = ?"/> </bean> <!-- ########## External JDBC Auth ########### --> <!-- ############ Synchronizer ############ --> <bean id="externalDataSynchronizer" class="com.jaspersoft.jasperserver.api.security.externalAuth.ExternalDataSynchronizerImpl"> <property name="externalUserDetailsService"> <ref bean="externalUserDetailsService"/> </property> <property name="externalUserProcessors"> <list> <ref local="externalUserSetupProcessor"/> <!-- Example processor for creating user folder. Other custom processors can be created and added to the list.--> <!--<ref local="externalUserFolderProcessor"/>--> </list> </property> </bean> <bean id="abstractExternalProcessor" class="com.jaspersoft.jasperserver.api.security.externalAuth.processors.AbstractExternalUserProcessor" abstract="true"> <property name="repositoryService" ref="${bean.repositoryService}"/> <property name="userAuthorityService" ref="${bean.userAuthorityService}"/> <property name="tenantService" ref="${bean.tenantService}"/> <property name="profileAttributeService" ref="profileAttributeService"/> <property name="objectPermissionService" ref="${bean.objectPermissionService}"/> </bean> <bean id="externalUserSetupProcessor" class="com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserSetupProcessor" parent="abstractExternalProcessor"> <property name="userAuthorityService"> <ref bean="${bean.internalUserAuthorityService}"/> </property> <property name="organizationRoleMap"> <map> <entry> <key> <value>ROLE_REPORT</value> </key> <value>ROLE_ADMIN</value> </entry> <!-- Mapping customers roles to JS roles Example --> <!--<entry>--> <!--<key>--> <!-- ?ustomer role(with adding ROLE_ prefix) which need to be mapped to root JS roles --> <!--<value>ROLE_ADMIN</value>--> <!--</key>--> <!-- root JS role customer role to be mapped to --> <!--<value>ROLE_ADMINISTRATOR</value>--> <!--</entry>--> </map> </property> <property name="defaultInternalRoles"> <list> <value>ROLE_USER</value> </list> </property> </bean> <bean id="externalUserFolderProcessor" class="com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserFolderProcessor" parent="abstractExternalProcessor"> <property name="repositoryService" ref="${bean.unsecureRepositoryService}"/> </bean> <!-- ############ Synchronizer ############ --> <!-- ############## external dataSource ############### --> <bean id="externalDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/> <property name="url" value="jdbc:oracle:thin:@some IP:1521:demodb"/> <property name="username" value="jasper"/> <property name="password" value="jasper123"/> </bean> <!-- ############## external dataSource ############### --> </beans> But i am unable to login giving external DB username and password . Is there anything to be changed ???? Please suggest me i am in trouble.
  6. I want to know the relation between JIRESOURCE / JIRESOURCEFOLDER with JIUSER table on Jasper internat Database. What is the key constaraint used to join these tables ?
  7. I have scheduled some reports for particular users of particular organization. And the pdfs are generated on different folders as per diff. users of diff. organization. i have a jsp page where user information as well as organization information is present. I need to populate the list of generated pdf files on jasper server for that particular user/organization. after that on clicking each list it will download the pdf from jasper server. How to achieve this functionality ? Please anyone help me.
  8. i am saving the scheduled/generated pdf files in different folder as per different users. Now i want to display the pdfs to the users. But i am not finding any path/URI to the generated pdf folder on Jasper DB. which table contains the path/URI to the generated report folder . Please help me how to find that URI.
  9. Hi, i want to know if i will change the css of overrides_custom.css file and modify the colors,background etc and replace it will it take effect on jasper server ? If No then for changing Jasper server design,looks what should i do ? where to put the modified files etc ? please suggest me..
  10. Hi, I have the jasper server installed/configured(with jrxmls,datasources,organizations,users) on a linux machine(suppose A) with Oracle DB and is running fine. Now i want to import the same jasper server configuration of (A) over another machine(B). Note:[ (B) has jasper server installed and connected with Oracle DB only ] How can i do this ? how ?
  11. Hi i have used this Url parameter to bypass the login credentials directly http://localhost:8081/jasperserver-pro/flow.html?_flowId=searchFlow&j_username=jasperadmin&j_password=jasperadmin BUt now i have organization configuration So i am unable to bypass it. How can i bypass this organization credentials ? how ?
×
×
  • Create New...