Now Available: Terms Of Use Administration for Liferay Portal

Yesterday, I recieved a notification from Liferay that my plugin "termsofuse-portlet" has passed their QA process.  Its now in the Liferay Marketplace.  This portlet permits administative users to activate terms of use; change the Localized Terms of Use web content; and reset terms of use acceptance by group, role or company.

I'm actively working on the second revision of the plugin to provide Terms of Use auditing including: tracking changes to Terms of Use and tracking user acceptance to Terms of Use.  So far, based upon Liferay Marketplace QA timing - this version should be available at end of August.

Feel free to contact me with suggestions or additional features that you need.

ben {at} javablog {dot} com

 

Liferay CE & JBoss EAP 6.4 Built and Deployed from sources

I found a great project to build jboss-eap from its sources.  Its not clear if that makes permits a person to run JBoss EAP 6.4.0 for instance on a production server; or permits the person to provide services related to JBoss products.  Anyway - the project is in GIT here: https://github.com/hasalex/eap-build

I followed the readme instructions and was able to take my development EAP configurations into production within 30 minutes of downloading.  This introduces an interesting combination serving this blog: Unsupported JBoss EAP from Sources and Unsupported Liferay CE from Sources with zero licensing costs.

Liferay 6.2 CE GA4 on Wildfly 8.2

 

Today I configured this blog to run on JBoss Wildfly 8.2.0 Final and Liferay 6.2 ga4.  The tricky part for me was to configure https in UnderTow.  This is what I did:

In the JBOSS_HOME/standalone/configuration/standalone.xml file I did the following.

Define Security Realm for Https:

<management> <security-realms>

<security-realm name="HttpsRealm">

<server-identities> <ssl> <keystore path="tomcat.keystore" relative-to="jboss.server.config.dir" keystore-password="password" alias="tomcat" key-password="password" /> </ssl> </server-identities> <authentication>

<truststore path="tomcat.keystore" relative-to="jboss.server.config.dir" keystore-password="password" /> <local default-user="$local"/>

<properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/> </authentication>

</security-realm>

 

Define Undertow Values for Liferay:

<subsystem xmlns="urn:jboss:domain:undertow:1.2">

  <buffer-cache name="default"/>

  <server name="default-server">

   <http-listener name="default" socket-binding="http"/>
   <https-listener name="https" socket-binding="https" security-realm="HttpsRealm" verify-client="REQUESTED" record-request-start-time="true" max-buffered-request-size="50000" resolve-peer-address="true"/>
    <host name="default-host" alias="localhost,www.javablog.com,www.basicapps.co" default-web-module="liferay.war">
     <location name="/" handler="welcome-content"/>
     <filter-ref name="server-header"/>
     <filter-ref name="x-powered-by-header"/>
   </host>

</server>

<servlet-container name="default">
  <jsp-config/>
  <websockets/>
</servlet-container>

<filters> <response-header name="server-header" header-name="Server" header-value="WildFly/8"/> <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/> </filters>

<handlers><file name="welcome-content" path="${jboss.home.dir}/welcome-content" directory-listing="true"/> </handlers>

</subsystem>