This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package pt.agap2.custom_login; | |
import java.util.regex.Pattern; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#|2012-01-12T16:31:22.084-0500|SEVERE|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=main;|WebModule[]PWC1270: Exception starting filter Invoker Filter - REQUEST | |
java.lang.NoClassDefFoundError: javax/servlet/Filter | |
at java.lang.ClassLoader.defineClass1(Native Method) | |
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) | |
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2128) | |
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1432) | |
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72) | |
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:356) | |
at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1317) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** /tmp/gftmp/WEB-INF/liferay-web.xml 2012-01-04 17:58:10.000000000 -0500 | |
--- ./liferay-web.xml 2012-01-12 15:55:40.672479775 -0500 | |
*************** | |
*** 402,415 **** | |
<filter-class>com.liferay.portal.servlet.filters.sso.cas.CASFilter</filter-class> | |
</filter> | |
<filter> | |
- <filter-name>SSO Ntlm Filter</filter-name> | |
- <filter-class>com.liferay.portal.servlet.filters.sso.ntlm.NtlmFilter</filter-class> | |
- </filter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Calendar now = Calendar.getInstance(); | |
Calendar lastmonth = Calendar.getInstance(); | |
lastmonth.add(Calendar.MONTH, -1); | |
DynamicQuery q = DynamicQueryFactoryUtil.forClass(MBThread.class); | |
/* threads with categoryId == -1 are for things other than message boards, like comments on blogs, etc */ | |
q.add(RestrictionsFactoryUtil.ne("categoryId", -1L)); | |
q.add(RestrictionsFactoryUtil.eq("groupId", 14L)); | |
q.add(RestrictionsFactoryUtil.eq("companyId", 1L)); | |
q.add(RestrictionsFactoryUtil.eq("status", 0L)); | |
q.add(RestrictionsFactoryUtil.between("lastPostDate", now.getTime(), lastmonth.getTime())); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#* @vtlvariable name="portletNamespace" type="java.lang.String" *# | |
#* @vtlvariable name="portal" type="com.liferay.portal.util.Portal" *# | |
#* @vtlvariable name="getterUtil" type="com.liferay.portal.kernel.util.GetterUtil" *# | |
#* @vtlvariable name="stringUtil" type="com.liferay.portal.kernel.util.StringUtil" *# | |
#* @vtlvariable name="max-members" type="com.liferay.portlet.journal.util.TemplateNode" *# | |
#* @vtlvariable name="team-name" type="com.liferay.portlet.journal.util.TemplateNode" *# | |
#* @vtlvariable name="section-members" type="com.liferay.portlet.journal.util.TemplateNode" *# | |
#* @vtlvariable name="groupId" type="java.lang.String" *# | |
#* @vtlvariable name="sectionMembers" type="java.lang.String" *# | |
#* @vtlvariable name="locale" type="java.util.Locale" *# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manifest-Version: 1.0 | |
Ant-Version: Apache Ant 1.8.2 | |
Created-By: 1.6.0_29-b11-402-11M3527 (Apple Inc.) | |
Bundle-ManifestVersion: 2 | |
Bundle-RequiredExecutionEnvironment: J2SE-1.5 | |
Bundle-Vendor: Liferay, Inc. | |
Bundle-Version: 6.1.0 | |
Export-Package: com.liferay;version="6.1.0",com.liferay.counter;versio | |
n="6.1.0",com.liferay.counter.model;version="6.1.0",com.liferay.count | |
er.model.impl;version="6.1.0",com.liferay.counter.service;version="6. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set ($portletNamespace = $request.portlet-namespace) | |
#if ($request.lifecycle == "RENDER_PHASE") | |
<div id="${portletNamespace}map"><!-- --></div> | |
<script type="text/javascript"> | |
AUI().use( | |
"aui-base", "aui-io-plugin", "aui-io-request", | |
function(A) { | |
A.io.request( |
NewerOlder