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

friscoshopping

Members
  • Posts

    5
  • Joined

  • Last visited

friscoshopping's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thanks Elizam for your response. Yes, I logged in with the external admin and tried to disable jasperadmin but option to disable the user is disabled. Can the password be changed for jasperadmin? /sites/default/files/images/Screen%20Shot%202016-03-23%20at%202_54_32%20PM.png
  2. We have only one organization and using community edition of JasperReports Server. Yes, I did add another admin user in applicationContext-externalAuth-LDAP.xml <bean id="externalUserSetupProcessor" class="com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserSetupProcessor" parent="abstractExternalProcessor"> <!--Default permitted role characters; others are removed. Change regular expression to allow other chars. <property name="permittedExternalRoleNameRegex" value="[A-Za-z0-9_]+"/>--> <property name="userAuthorityService"> <ref bean="${bean.internalUserAuthorityService}"/> </property> <property name="defaultInternalRoles"> <list> <value>ROLE_USER</value> </list> </property> <property name="adminUsernames"> <list> <value><%= scope.lookupvar('jasperreports_server::jasper_admin_user') %></value> </list> </property> <property name="defaultAdminRoles"> <list> <value>ROLE_USER</value> <value>ROLE_ADMINISTRATOR</value> </list> </property> <property name="organizationRoleMap"> <map> <!-- Example of mapping customer roles to JRS roles --> <entry> <key> <value>ROLE_ADMIN_EXTERNAL_ORGANIZATION</value> </key> <!-- JRS role that the <key> external role is mapped to--> <value>ROLE_ADMINISTRATOR</value> </entry> </map> </property> </bean>[/code]
  3. Hi, We have automated jasper reports server installation and LDAP configuration. how do i disable jasperadmin user? Can this user be disabled in any of the configuration files? I removed it from WEB-INF/js.config.properties file but I can still login using jasperadmin.
  4. Hi, I have installed jasperreports server 6.2.0 and configured with LDAP. I could login with jasperadmin but not with the network credentials. Could you please suggest what is wrong with the below LDAP configuration? I do not see any errors in jasperserver.log <bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource"> <constructor-arg value="ldap://ldap.mycompany.me:389/ou=mycompany,dc=mycompany,dc=me"/> <!-- manager user name and password (may not be needed) --> <property name="userDn" value="cn=adminUser,ou=Services,ou=Users,ou=mycompany,dc=mycompany,dc=me"/> <property name="password" value="adminPwd"/> </bean> <bean id="ldapAuthenticationProvider" class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSLdapAuthenticationProvider"> <constructor-arg> <bean class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSBindAuthenticator"> <constructor-arg><ref local="ldapContextSource"/></constructor-arg> <property name="userDnPatterns"> <list> <value>ou=users</value> </list> </property> </bean> </constructor-arg> <constructor-arg> <bean class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSDefaultLdapAuthoritiesPopulator"> <constructor-arg index="0"><ref local="ldapContextSource"/></constructor-arg> <constructor-arg index="1"><value></value></constructor-arg> <property name="groupRoleAttribute" value="title"/> <property name="groupSearchFilter" value="(uid={1})"/> <property name="searchSubtree" value="true"/> <!-- Can setup additional external default roles here <property name="defaultRole" value="LDAP"/> --> </bean> </constructor-arg> </bean>..insert your code here..[/code]
×
×
  • Create New...