<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>company.security.strangers.url</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=12402382" />
  <subtitle>company.security.strangers.url</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=12402382</id>
  <updated>2026-06-02T11:18:52Z</updated>
  <dc:date>2026-06-02T11:18:52Z</dc:date>
  <entry>
    <title>RE: company.security.strangers.url</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=76413053" />
    <author>
      <name>Matt Schiedermayer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=76413053</id>
    <updated>2016-07-08T19:38:46Z</updated>
    <published>2016-07-08T19:38:46Z</published>
    <summary type="html">Hi Trevor,&lt;br /&gt;&lt;br /&gt;The portlets have to handle it themselves, usually in a url parameter.  For example, on the login portlet.  Say for example, you were viewing the site as a Guest (anonymous User) and you clicked a link to a page that requires an authenticated Liferay User for view rights.  Liferay will automatically direct the user to the login portlet with one of the URL parameters being &amp;amp;_58_redirect=%2Fpage%2Fsubpage.  As long as you are still in the same Site (or Community for version before 6) the login portlet knows that it uses its normal friendly URL/virtual host URL and appends /page/subpage to the URL after login is complete(ex: www.myliferaysitedomain.com/page/subpage).  The parameter and redirect in this example is handled in the standard LoginAction class.  As long as you have a custom portlet or  are overriding a standard portlet you can handle a redirect in Java code, or possibly even JavaScript.</summary>
    <dc:creator>Matt Schiedermayer</dc:creator>
    <dc:date>2016-07-08T19:38:46Z</dc:date>
  </entry>
  <entry>
    <title>company.security.strangers.url</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12402381" />
    <author>
      <name>Trevor Ackerman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12402381</id>
    <updated>2012-02-07T23:32:59Z</updated>
    <published>2012-02-07T23:32:59Z</published>
    <summary type="html">I understand that I can enter a friendly URL for this property like so&lt;br /&gt;company.security.strangers.url=/registration1&lt;br /&gt;&lt;br /&gt;However I would like to also pass an action parameter to one of the portlets on the page mentioned above.&lt;br /&gt;(Specifically go to page registration1 and have the login portlet there present the create account view)&lt;br /&gt;&lt;br /&gt;On my browser I can get exactly what I want by entering the following URL &lt;br /&gt;http://localhost:8080/registration1/-/58?_58_struts_action=%2Flogin%2Fcreate_account&lt;br /&gt;&lt;br /&gt;I have also figured out how to get what I want by writing a hook for the login portlet, but I want to know how to do this without resorting to a hook.&lt;br /&gt;&lt;br /&gt;Does anyone know the answer?&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Trevor Ackerman</dc:creator>
    <dc:date>2012-02-07T23:32:59Z</dc:date>
  </entry>
</feed>
