<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problema con clase AuthenticationUtil in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problema-con-clase-authenticationutil/m-p/105026#M73404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;he estado un tiempo desarrollando un proyecto bastante completo y probándolo con la versión 3 beta. En uno de los dashlets con los que hemos extendido la funcionalidad se necesitaba detectar el nombre del usuario que se había logado en Alfresco, así que se hacía lo siguiente:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;import org.alfresco.repo.security.authentication.AuthenticationUtil;&lt;BR /&gt;&lt;BR /&gt;….&lt;BR /&gt;&lt;BR /&gt;String userLogin = AuthenticationUtil.&amp;nbsp;&amp;nbsp;&amp;nbsp;getCurrentRealUserName() ;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Como&amp;nbsp; digo, esto ha funcionado perfectamente con la versión 3b, el caso es que al probarlo en una instalación de la nueva versión 3 estable se produce una excepción y el método getCurrentRealUserName()&amp;nbsp; no se reconoce como válido en esa clase (no recuerdo ahora mismo la excepción que da). Por favor, ¿podría alguien decirme qué ha cambiado de una versión a otra?, ¿o bien otra manera de hacerlo?. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Muchas gracias de antemano.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Un saludo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 07:42:20 GMT</pubDate>
    <dc:creator>alex888</dc:creator>
    <dc:date>2009-02-04T07:42:20Z</dc:date>
    <item>
      <title>Problema con clase AuthenticationUtil</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problema-con-clase-authenticationutil/m-p/105026#M73404</link>
      <description>Hola,he estado un tiempo desarrollando un proyecto bastante completo y probándolo con la versión 3 beta. En uno de los dashlets con los que hemos extendido la funcionalidad se necesitaba detectar el nombre del usuario que se había logado en Alfresco, así que se hacía lo siguiente:import org.alfresco</description>
      <pubDate>Wed, 04 Feb 2009 07:42:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problema-con-clase-authenticationutil/m-p/105026#M73404</guid>
      <dc:creator>alex888</dc:creator>
      <dc:date>2009-02-04T07:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problema con clase AuthenticationUtil</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problema-con-clase-authenticationutil/m-p/105027#M73405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;He estado mirando en JIRA y no aparece ningun bug asociado a ese metodo, ni tampoco que haya desaparecido de la clase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Puedes abrir una incidencia en JIRA y esperar que te digan algo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/secure/Dashboard.jspa" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/secure/Dashboard.jspa&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Saludos&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:55:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problema-con-clase-authenticationutil/m-p/105027#M73405</guid>
      <dc:creator>pjcaracuel_2349</dc:creator>
      <dc:date>2009-02-04T08:55:52Z</dc:date>
    </item>
  </channel>
</rss>

