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

GrayChan

Members
  • Posts

    13
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by GrayChan

  1. In SQL Server 2k , I defined a store procedure with two output parameters .

    when I test in Query Analyzer , all seem ok .

    But in IReport , I can not get value . It only returns "NULL" with output parameters.

    Dose anybody know how to use output parameter ?

  2. maybe can not modify the format of login page , also can change the content , for example the login username/password.

    You can find the file c:Program Filesjasperserver-2.1apache-tomcatwebappsjasperserverWEB-INFbundlesjasperserver_messages.properties,many contents are included here , login's prompt is filed LOGIN_JOEUSER, others can try one by one .

    After change , you need not restart server , only fresh the page.

    And , the JS does not support other languages , but english. If you want to use others , please convert to unicode . you can refer to Jasper Babylon.

    Another thing is , you can write down html code in property file , is it funny ?

    Post edited by: GrayChan, at: 2008/03/12 01:37

  3. I tried today , but got same error.

    16:02:39,796 WARN LoggerListener,http-8080-Processor24:55 - Authentication event AuthenticationFailureBadCredentialsEvent: test@hasph; details: org.acegisecurity.ui.WebAuthenticationDetails@0: RemoteIpAddress: 127.0.0.1; SessionId: 27AB21F9A4983D84FA7663ED94A5E123; exception: Bad credentials

     

    Follow is my xml code :

     

    Code:

    <!--

    For LDAP authentication
    -->
    <bean id="initialDirContextFactory" class="org.acegisecurity.ldap.DefaultInitialDirContextFactory">
    <constructor-arg value="ldap://hapsh-if.hapsh.com:389/dc=hapsh,dc=com"/>

    <!--
    You may not need the next properties-->
    <property name="managerDn"><value>CN=test,DC=hapsh,DC=com</value></property>
    <property name="managerPassword"><value>********</value></property>
    <property name="extraEnvVars">
    <map>
    <entry key="java.naming.referral">
    <value>follow</value>
    </entry>
    </map>
    </property>

    </bean>


    <!--
    For LDAP authentication
    This bean is not used by default
    -->
    <bean id="userSearch"
    class="org.acegisecurity.ldap.search.FilterBasedLdapUserSearch">
    <constructor-arg index="0">
    <value>ou=HAPSH</value>
    </constructor-arg>
    <constructor-arg index="1">
    <value>(sAMAccountName={0})</value>
    </constructor-arg>
    <constructor-arg index="2">
    <ref local="initialDirContextFactory" />
    </constructor-arg>
    <property name="searchSubtree">
    <value>true</value>
    </property>
    </bean>



    <!--
    For LDAP authentication
    -->
    <!-- ******************* -->
    <bean id="ldapAuthenticationProvider" class="org.acegisecurity.providers.ldap.LdapAuthenticationProvider">
    <constructor-arg>
    <bean class="org.acegisecurity.providers.ldap.authenticator.BindAuthenticator">
    <constructor-arg><ref local="initialDirContextFactory"/></constructor-arg>
    <property name="userSearch">
    <ref local="userSearch" />
    </property>
    </bean>
    </constructor-arg>
    <constructor-arg>
    <bean
    class="org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator">
    <constructor-arg>
    <ref local="initialDirContextFactory" />
    </constructor-arg>
    <constructor-arg>
    <value>ou=HAPSH</value>
    </constructor-arg>
    <property name="convertToUpperCase">
    <value>true</value>
    </property>
    <property name="rolePrefix">
    <value></value>
    </property>
    <property name="searchSubtree">
    <value>true</value>
    </property>
    <property name="groupSearchFilter">
    <value>(&(description=*HAPSH*)(member={0}))</value>
    </property>
    <property name="groupRoleAttribute">
    <value>cn</value>
    </property>
    </bean>
    </constructor-arg>
    </bean>

     

    thanks a lot.

  4. Could we list all columns in parameters , and let users choose those they want to dispaly one by one .

    In rendering report , report resizes column's width automatically .

    Maybe okey.

  5. Could we list all columns in parameters , and let users choose those they want to dispaly one by one .

    In rendering report , report resizes column's width automatically .

    Maybe okey.

  6. Hi, Sean Day

    Thanks very much for the help .

    I have configged the applicationContext-security.xml file , but failed also.

    Now I want to confirm the following issues:

    1) I am not very clear for the 3rd section's function . Does it mean , I can ignore this whitout use group ?

    2) After config , jasperserver start normally . So how can I know jasperserver's status , whether connect to AD server successfully , retrieve accounts successfully or not.

    If have any error , where the log stored , is "C:Program Filesjasperserver-2.1apache-tomcatwebappsjasperserverWEB-INFlogs".

    3) Which format of user name is fine , username@domain , domainusername or only username.

  7. I have read the topic of JasperServer Authentication (http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperserver/wiki/AuthenticationConfiguration

    , and according to this configed my jasperserver .

    After configuration , I start jasperserver without errors. But what is the next step , I can not login using AD accout , and can not import users via AD. The manual does not refer it.

    Anyone can help me ?

    Post edited by: GrayChan, at: 2008/02/26 06:32

×
×
  • Create New...