Return-path: <isaiaslee@ssf.mx>
Envelope-to: miguel@ssf.com.mx
Delivery-date: Tue, 07 Jun 2016 18:50:12 -0500
Received: from mail-oi0-f52.google.com ([209.85.218.52]:36751)
	by vishnu.hosting-mexico.net with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
	(Exim 4.87)
	(envelope-from <isaiaslee@ssf.mx>)
	id 1bAQk7-0046ac-Dg
	for miguel@ssf.com.mx; Tue, 07 Jun 2016 18:50:11 -0500
Received: by mail-oi0-f52.google.com with SMTP id p204so107056667oih.3
        for <miguel@ssf.com.mx>; Tue, 07 Jun 2016 16:48:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=ssf-mx.20150623.gappssmtp.com; s=20150623;
        h=mime-version:from:date:message-id:subject:to;
        bh=hLbSG61MMK3h5lvdkmccTl99h+v/KlKCD5ORdK5fLGI=;
        b=CHnQZLUeGLw5TjvA9Ip2UFgRt9ZdXfQ8NN0q5z24vDK3wHJo9eyEk1ZHVpdv+ojWGp
         TePhn+VtbXYk1BZiyVjEMyj7T94XBanrVep26JAVU9ryU9DstKhxrD30T0rTVBxpTggU
         f4AMxWrfvs1nM70kcWkWkIdfNf0lBjxIqYEmcgwehD2n4YWIyO5PjoTwf9CrmpAlIbUD
         8/kZQ5ah4wb7GxX9kMrq+ogHftb8oiKtMeVl/joMyTdDItjy/6KwCXzFtqjtfLp6r6CQ
         522URQvWVanpDFgrCo6yuo6rehe2Hedx46+NsOzTlhowm7AXqePqY6n4KMLd2ZIt+8+s
         sSGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=hLbSG61MMK3h5lvdkmccTl99h+v/KlKCD5ORdK5fLGI=;
        b=FP2mNdgmHkrWFNsJqDAk3/BgGmMWSgeXzUsK4bUX/7z48DjxPAk+f7yXteJ3uHY9Mk
         yI+vWblJVyv5cunyaYS9vQfuvISso2B+inea6udpRXPr1rbUawne1uN1dlMRx0Evus4a
         Hx3oa8dTjT5j2D9nIr3rVmy6GsfhsJZYDeB0J99JAvZ3njigR6aP+S1ikzlV1geqTULD
         PJNdaPTfImqK/qMr0SIYoOy6pSTzAZPo0zXds050LxEFmPr7HpmMwMClN2pVjLWwi/o7
         wpCh7x2Qv26cqbfiBLh72j70/RQAqR91acqcef73uPPFoS7YKgcKmTZA/IG4pyxlGWQ4
         tkMg==
X-Gm-Message-State: ALyK8tJ5gewkz77HDgVd2e6WrU1EFtsh2igbTXrDT4nwMg/xmekG0PPs9UUVsuAW/9OChjgoQJufeqnEZlw3kA==
X-Received: by 10.202.85.80 with SMTP id j77mr1293781oib.60.1465343309184;
 Tue, 07 Jun 2016 16:48:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.108.97 with HTTP; Tue, 7 Jun 2016 16:47:49 -0700 (PDT)
X-Originating-IP: [187.189.248.125]
From: =?UTF-8?B?SXNhw61hcyBJw7HDrWd1ZXo=?= <isaiaslee@ssf.mx>
Date: Tue, 7 Jun 2016 18:47:49 -0500
Message-ID: <CAEJ+j9ES_2eu+CgJ0P+HKLjBW6PJrBtL4PVdxBE_ZYkz=u6Gog@mail.gmail.com>
Subject: 
To: miguel@ssf.com.mx
Content-Type: multipart/alternative; boundary=001a113defd86b1ee30534b8d3e8
X-Spam-Status: No, score=-0.7
X-Spam-Score: -6
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "vishnu.hosting-mexico.net",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 root\@localhost for details.
 
 Content preview:  <!-- ~ Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights
    reserved. ~ http://www.jaspersoft.com. ~ Licensed under commercial Jaspersoft
    Subscription License Agreement --> <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"> [...] 
 
 Content analysis details:   (-0.7 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at http://www.dnswl.org/, low
                             trust
                             [209.85.218.52 listed in list.dnswl.org]
  0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was blocked.
                             See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                              for more information.
                             [URIs: springframework.org]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.218.52 listed in wl.mailspike.net]
  0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Spam-Flag: NO

--001a113defd86b1ee30534b8d3e8
Content-Type: text/plain; charset=UTF-8

<!--
  ~ Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
  ~ http://www.jaspersoft.com.
  ~ Licensed under commercial Jaspersoft Subscription License Agreement
  -->

<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.EncryptionAuthenticationProcessingFilter"
          parent="authenticationProcessingFilter">
        <property name="authenticationManager">
            <ref local="dbAuthenticationManager"/>
        </property>

        <property name="authenticationSuccessHandler"
ref="externalAuthSuccessHandler" />
    </bean>

    <bean id="proxyAuthenticationSoapProcessingFilter"

class="com.jaspersoft.jasperserver.api.security.externalAuth.DefaultAuthenticationSoapProcessingFilter">
        <property name="authenticationManager"
ref="dbAuthenticationManager"/>
        <property name="authenticationSuccessHandler"
ref="externalAuthSuccessHandler" />

        <property name="filterProcessesUrl" value="/services"/>
    </bean>

    <bean id="proxyAuthenticationRestProcessingFilter"
class="com.jaspersoft.jasperserver.api.security.externalAuth.DefaultAuthenticationRestProcessingFilter">
        <property name="authenticationManager">
            <ref local="dbAuthenticationManager"/>
        </property>
        <property name="authenticationSuccessHandler"
ref="externalAuthSuccessHandler" />
        <property name="filterProcessesUrl" value="/rest/login"/>
    </bean>

    <bean id="proxyRequestParameterAuthenticationFilter"

class="com.jaspersoft.jasperserver.war.util.ExternalRequestParameterAuthenticationFilter"
parent="requestParameterAuthenticationFilter">
        <property name="authenticationManager">
            <ref local="dbAuthenticationManager"/>
        </property>
<property name="externalDataSynchronizer" ref="externalDataSynchronizer"/>
    </bean>

    <bean id="externalAuthSuccessHandler"

class="com.jaspersoft.jasperserver.api.security.externalAuth.JrsExternalAuthenticationSuccessHandler"
parent="successHandler">
        <property name="externalDataSynchronizer">
            <ref local="externalDataSynchronizer"/>
        </property>
    </bean>
<!--
    <bean id="proxyBasicProcessingFilter"

class="com.jaspersoft.jasperserver.api.security.externalAuth.ExternalAuthBasicProcessingFilter"
parent="basicProcessingFilter">
        <property name="authenticationManager"
ref="dbAuthenticationManager"/>
        <property name="externalDataSynchronizer"
ref="externalDataSynchronizer"/>

        <property name="authenticationEntryPoint">
            <ref local="basicProcessingFilterEntryPoint"/>
        </property>
    </bean>
-->
    <bean id="dbAuthenticationManager"
class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSProviderManager">
        <property name="providers">
            <list>
                <ref bean="externalDaoAuthenticationProvider"/>
                <ref bean="${bean.daoAuthenticationProvider}"/>
            </list>
        </property>
    </bean>

    <bean id="externalDaoAuthenticationProvider"
class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.jdbc.JSDaoAuthenticationProvider">
        <property name="userDetailsService"><ref
local="externalUserDetailsService"/></property>
        <property name="passwordEncoder"><ref
local="passwordValidator"/></property>
    </bean>

    <bean id="externalUserDetailsService"
class="com.jaspersoft.jasperserver.api.security.externalAuth.db.ExternalJDBCUserDetailsService">
        <property name="dataSource" ref="externalDataSource"/>
        <property name="usersByUsernameQuery" value="select
u.nombre_usuario, u.password, u.activo_usuario,e.id_planta from usuario as
u left join empleado e on e.id_emp$
        <property name="authoritiesByUsernameQuery" value="select
u.nombre_usuario,p.nombre_permiso from usuario_permiso up join permiso p on
p.id_permiso = up.id_permis$
    </bean>

    <bean id="passwordValidator"
class="org.springframework.security.authentication.encoding.Md5PasswordEncoder">
    <!--    <constructor-arg value="256"/> -->
        <property name="encodeHashAsBase64" value="false" />
    </bean>

    <!-- ########## External JDBC Auth ########### -->

    <!-- ############ Synchronizer ############ -->
    <bean id="externalDataSynchronizer"

class="com.jaspersoft.jasperserver.api.security.externalAuth.ExternalDataSynchronizerImpl">
        <property name="externalUserDetailsService">
            <ref local="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="objectPermissionService"/>
    </bean>

    <bean id="externalUserSetupProcessor"
class="com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserSetupProcessor"
parent="abstractExternalPro$
        <!--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="organizationRoleMap">
            <map>
                <!-- Mapping external roles to JRS internal roles. Example:
map external role ADMIN to JRS role ROLE_ADMINISTRATOR  -->
                <!--<entry key="ADMIN" value="ROLE_ADMINISTRATOR" />-->
            </map>
        </property>
        <property name="defaultInternalRoles">
            <list>
                <value>ROLE_USER</value>
            </list>
        </property>
    </bean>

    <!-- ############ Synchronizer ############ -->


    <!-- ############## external dataSource: config in master.properties
############### -->
    <bean id="externalDataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="url" value="jdbc:mysql://localhost:3308/globalnet"/>
        <property name="username" value="jasperserver"/>
        <property name="password" value="j4sp3rs3rv3r"/>
    </bean>
    <!-- ############## external dataSource ############### -->

</beans>

--001a113defd86b1ee30534b8d3e8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">&lt;!--<br>=C2=A0 ~ Copyright (C) 2005 - 2014 TIBCO Softwa=
re Inc. All rights reserved.<br>=C2=A0 ~ <a href=3D"http://www.jaspersoft.c=
om">http://www.jaspersoft.com</a>.<br>=C2=A0 ~ Licensed under commercial Ja=
spersoft Subscription License Agreement<br>=C2=A0 --&gt;<br><br>&lt;beans x=
mlns=3D&quot;<a href=3D"http://www.springframework.org/schema/beans">http:/=
/www.springframework.org/schema/beans</a>&quot;<br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 xmlns:xsi=3D&quot;<a href=3D"http://www.w3.org/2001/XMLSchema-=
instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 xsi:schemaLocation=3D&quot;<a href=3D"http://ww=
w.springframework.org/schema/beans">http://www.springframework.org/schema/b=
eans</a> <a href=3D"http://www.springframework.org/schema/beans/spring-bean=
s-3.1.xsd">http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=
</a>&quot;&gt;<br><br>=C2=A0=C2=A0=C2=A0 &lt;!-- ########## External JDBC A=
uth ###########<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - Sample configuration of=
 JasperServer authentication via an external database<br>=C2=A0=C2=A0=C2=A0=
 --&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&quot;proxyAuthenticationProces=
singFilter&quot; class=3D&quot;com.jaspersoft.jasperserver.api.security.Enc=
ryptionAuthenticationProcessingFilter&quot;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 parent=3D&quot;authenticationProcessingFilter&q=
uot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D=
&quot;authenticationManager&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;ref local=3D&quot;dbAuthenticationMan=
ager&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property=
&gt;<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D=
&quot;authenticationSuccessHandler&quot; ref=3D&quot;externalAuthSuccessHan=
dler&quot; /&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=C2=
=A0 &lt;bean id=3D&quot;proxyAuthenticationSoapProcessingFilter&quot;<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D&quot;com.ja=
spersoft.jasperserver.api.security.externalAuth.DefaultAuthenticationSoapPr=
ocessingFilter&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;=
property name=3D&quot;authenticationManager&quot; ref=3D&quot;dbAuthenticat=
ionManager&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pro=
perty name=3D&quot;authenticationSuccessHandler&quot; ref=3D&quot;externalA=
uthSuccessHandler&quot; /&gt;<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 &lt;property name=3D&quot;filterProcessesUrl&quot; value=3D&quot;/se=
rvices&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=
=C2=A0 &lt;bean id=3D&quot;proxyAuthenticationRestProcessingFilter&quot; cl=
ass=3D&quot;com.jaspersoft.jasperserver.api.security.externalAuth.DefaultAu=
thenticationRestProcessingFilter&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;property name=3D&quot;authenticationManager&quot;&gt;<b=
r>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;re=
f local=3D&quot;dbAuthenticationManager&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 &lt;property name=3D&quot;authenticationSuccessHandler&quot; r=
ef=3D&quot;externalAuthSuccessHandler&quot; /&gt;<br>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;filterProcessesUrl&quot; va=
lue=3D&quot;/rest/login&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><=
br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&quot;proxyRequestParameterAuthenticati=
onFilter&quot;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cl=
ass=3D&quot;com.jaspersoft.jasperserver.war.util.ExternalRequestParameterAu=
thenticationFilter&quot; parent=3D&quot;requestParameterAuthenticationFilte=
r&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=
=3D&quot;authenticationManager&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;ref local=3D&quot;dbAuthentication=
Manager&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/prope=
rty&gt;<br>&lt;property name=3D&quot;externalDataSynchronizer&quot; ref=3D&=
quot;externalDataSynchronizer&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt=
;<br><br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&quot;externalAuthSuccessHandler&=
quot;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D&qu=
ot;com.jaspersoft.jasperserver.api.security.externalAuth.JrsExternalAuthent=
icationSuccessHandler&quot; parent=3D&quot;successHandler&quot;&gt;<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;externalD=
ataSynchronizer&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 &lt;ref local=3D&quot;externalDataSynchronizer&quot;/=
&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br>=C2=
=A0=C2=A0=C2=A0 &lt;/bean&gt;<br>&lt;!--<br>=C2=A0=C2=A0=C2=A0 &lt;bean id=
=3D&quot;proxyBasicProcessingFilter&quot;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 class=3D&quot;com.jaspersoft.jasperserver.api.secu=
rity.externalAuth.ExternalAuthBasicProcessingFilter&quot; parent=3D&quot;ba=
sicProcessingFilter&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 &lt;property name=3D&quot;authenticationManager&quot; ref=3D&quot;dbAuthen=
ticationManager&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &l=
t;property name=3D&quot;externalDataSynchronizer&quot; ref=3D&quot;external=
DataSynchronizer&quot;/&gt;<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 &lt;property name=3D&quot;authenticationEntryPoint&quot;&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;ref local=
=3D&quot;basicProcessingFilterEntryPoint&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&=
gt;<br>--&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&quot;dbAuthenticationMan=
ager&quot; class=3D&quot;com.jaspersoft.jasperserver.api.security.externalA=
uth.wrappers.spring.JSProviderManager&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;providers&quot;&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;list&gt;<b=
r>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;ref bean=3D&quot;externalDaoAuthenticationProvider&q=
uot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;ref bean=3D&quot;${bean.daoAuthenticatio=
nProvider}&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;/list&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 &lt;/property&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=
=A0=C2=A0 &lt;bean id=3D&quot;externalDaoAuthenticationProvider&quot; class=
=3D&quot;com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spr=
ing.jdbc.JSDaoAuthenticationProvider&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;userDetailsService&quot;&gt;&l=
t;ref local=3D&quot;externalUserDetailsService&quot;/&gt;&lt;/property&gt;<=
br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;pas=
swordEncoder&quot;&gt;&lt;ref local=3D&quot;passwordValidator&quot;/&gt;&lt=
;/property&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=C2=
=A0 &lt;bean id=3D&quot;externalUserDetailsService&quot; class=3D&quot;com.=
jaspersoft.jasperserver.api.security.externalAuth.db.ExternalJDBCUserDetail=
sService&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;proper=
ty name=3D&quot;dataSource&quot; ref=3D&quot;externalDataSource&quot;/&gt;<=
br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;use=
rsByUsernameQuery&quot; value=3D&quot;select u.nombre_usuario, u.password, =
u.activo_usuario,e.id_planta from usuario as u left join empleado e on e.id=
_emp$<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&qu=
ot;authoritiesByUsernameQuery&quot; value=3D&quot;select u.nombre_usuario,p=
.nombre_permiso from usuario_permiso up join permiso p on p.id_permiso =3D =
up.id_permis$<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=C2=A0=
 &lt;bean id=3D&quot;passwordValidator&quot; class=3D&quot;org.springframew=
ork.security.authentication.encoding.Md5PasswordEncoder&quot;&gt;<br>=C2=A0=
=C2=A0=C2=A0 &lt;!--=C2=A0=C2=A0=C2=A0 &lt;constructor-arg value=3D&quot;25=
6&quot;/&gt; --&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;prope=
rty name=3D&quot;encodeHashAsBase64&quot; value=3D&quot;false&quot; /&gt;<b=
r>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=C2=A0 &lt;!-- ######=
#### External JDBC Auth ########### --&gt;<br><br>=C2=A0=C2=A0=C2=A0 &lt;!-=
- ############ Synchronizer ############ --&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;b=
ean id=3D&quot;externalDataSynchronizer&quot;<br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D&quot;com.jaspersoft.jasperserver.ap=
i.security.externalAuth.ExternalDataSynchronizerImpl&quot;&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;externalUserDet=
ailsService&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;ref local=3D&quot;externalUserDetailsService&quot;/&=
gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;externalU=
serProcessors&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;list&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;ref local=3D&quot;e=
xternalUserSetupProcessor&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;!-- Example p=
rocessor for creating user folder.<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 Other custom processors can be created and<br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 added to the list.--&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;!--&lt;ref=
 local=3D&quot;externalUserFolderProcessor&quot;/&gt;--&gt;<br>=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/list&gt;<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br>=C2=A0=C2=A0=
=C2=A0 &lt;/bean&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&quot;abstractExte=
rnalProcessor&quot; class=3D&quot;com.jaspersoft.jasperserver.api.security.=
externalAuth.processors.AbstractExternalUserProcessor&quot; abstract=3D&quo=
t;true&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property=
 name=3D&quot;repositoryService&quot; ref=3D&quot;${bean.repositoryService}=
&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=
=3D&quot;userAuthorityService&quot; ref=3D&quot;${bean.userAuthorityService=
}&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property nam=
e=3D&quot;tenantService&quot; ref=3D&quot;${bean.tenantService}&quot;/&gt;<=
br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;pro=
fileAttributeService&quot; ref=3D&quot;profileAttributeService&quot;/&gt;<b=
r>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;obje=
ctPermissionService&quot; ref=3D&quot;objectPermissionService&quot;/&gt;<br=
>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&=
quot;externalUserSetupProcessor&quot; class=3D&quot;com.jaspersoft.jasperse=
rver.api.security.externalAuth.processors.ExternalUserSetupProcessor&quot; =
parent=3D&quot;abstractExternalPro$<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 &lt;!--Default permitted role characters; others are removed. Change=
 regular expression to allow other chars.<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 &lt;property name=3D&quot;permittedExternalRoleNameRegex&quot; va=
lue=3D&quot;[A-Za-z0-9_]+&quot;/&gt;--&gt;<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;userAuthorityService&quot;&gt;=
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;=
ref bean=3D&quot;${bean.internalUserAuthorityService}&quot;/&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br><br>=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;organizationRoleMa=
p&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 &lt;map&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;!-- Mapping external roles to J=
RS internal roles. Example: map external role ADMIN to JRS role ROLE_ADMINI=
STRATOR=C2=A0 --&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;!--&lt;entry key=3D&quot;ADMIN&=
quot; value=3D&quot;ROLE_ADMINISTRATOR&quot; /&gt;--&gt;<br>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/map&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<br>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;defaultInternalRoles&=
quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 &lt;list&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;value&gt;ROLE_USER&lt;/value&gt=
;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt=
;/list&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/property&gt;<=
br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br><br>=C2=A0=C2=A0=C2=A0 &lt;!-- #####=
####### Synchronizer ############ --&gt;<br><br><br>=C2=A0=C2=A0=C2=A0 &lt;=
!-- ############## external dataSource: config in master.properties #######=
######## --&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;bean id=3D&quot;externalDataSourc=
e&quot; class=3D&quot;org.springframework.jdbc.datasource.DriverManagerData=
Source&quot;&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property=
 name=3D&quot;driverClassName&quot; value=3D&quot;com.mysql.jdbc.Driver&quo=
t;/&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&=
quot;url&quot; value=3D&quot;jdbc:mysql://localhost:3308/globalnet&quot;/&g=
t;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;=
username&quot; value=3D&quot;jasperserver&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 &lt;property name=3D&quot;password&quot; value=3D&=
quot;j4sp3rs3rv3r&quot;/&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/bean&gt;<br>=C2=A0=
=C2=A0=C2=A0 &lt;!-- ############## external dataSource ############### --&=
gt;<br><br>&lt;/beans&gt;<br><br></div>

--001a113defd86b1ee30534b8d3e8--
