| version | note |
|---|---|
| ADFS 1.0 | Released with Windows 2003 R2. Built into OS. |
| ADFS 1.1 | Released with Windows 2008 and 2008 R2. Built into OS. |
| ADFS 2.0 | Released After Windows 2008 / 2008 R2. Separate download from here. |
| ADFS 2.1 | Windows 2012 |
| ADFS 3.0 | Windows 2012 R2 |
This file contains hidden or 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
| import sun.misc.Unsafe; | |
| import java.lang.reflect.Field; | |
| public class Crash { | |
| public static void main(String... args) throws Exception { | |
| getUnsafe().getByte(0); | |
| } | |
| private static Unsafe getUnsafe() throws NoSuchFieldException, IllegalAccessException { | |
| Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe"); |
This file contains hidden or 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
| saml.sp.user.attribute.mappings=\http\\://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress=emailAddress\n\http\\://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname=firstName\n\http\\://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname=lastName\n\http\\://schemas.xmlsoap.org/claims/CommonName=screenName |
This file contains hidden or 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
| <#-- dump.ftl | |
| -- | |
| -- Generates tree representations of data model items. | |
| -- | |
| -- Usage: | |
| -- <#import "dump.ftl" as dumper> | |
| -- | |
| -- <#assign foo = something.in["your"].data[0].model /> | |
| -- | |
| -- <@dumper.dump foo /> |
This file contains hidden or 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
| <#assign | |
| portletName = themeDisplay.getPortletDisplay().getPortletName() | |
| plid = getterUtil.getLong(themeDisplay.getPlid()) | |
| portletURL = portletURLFactory.create(renderRequest, portletName, plid, "RENDER_PHASE") | |
| windowState = windowStateFactory.getWindowState("POP_UP") | |
| assetRenderer = entry.getAssetRenderer() | |
| editURL = assetRenderer.getURLEdit(renderRequest,renderResponse, windowState, portletURL) | |
| VOID = editURL.setParameter("returnToFullPageURL", currentPortletURL) | |
| > | |
| <@liferay_ui["icon"] method="get" url="${editURL}" icon="pencil" useDialog=true /> |
This file contains hidden or 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
| <#assign | |
| languageId = languageUtil.getLanguageId(locale) | |
| journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") | |
| layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") | |
| article = journalArticleLocalService.getArticle( groupId, .vars["reserved-article-id"].data ) | |
| resourceprimKey = article.getResourcePrimKey() | |
| assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") | |
| assetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", resourceprimKey) | |
| dLFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") | |
| dLFileEntryTypeLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryTypeLocalService") |
This file contains hidden or 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
| <span class="label label-secondary" id="test"> | |
| <span class="label-item label-item-expand">Label Text</span> | |
| </span> | |
| <aui:script position="inline" > | |
| $("#test").click(function(event) { | |
| Liferay.Util.openWindow( | |
| { | |
| dialog: { | |
| after: { |
This file contains hidden or 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
| <liferay-portlet:renderURL var="viewDetailsURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> | |
| <portlet:param name="mvcRenderCommandName" value="viewDetails" /> | |
| </liferay-portlet:renderURL> | |
| uri: '<%= HtmlUtil.escapeJS(viewDetailsURL) %>' |
This file contains hidden or 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
| <#assign | |
| languageId = languageUtil.getLanguageId(locale) | |
| tagUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService") | |
| serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() | |
| httpServletRequest = serviceContext.getRequest() | |
| rootPortletId = portletDisplay.getRootPortletId() | |
| currentPortletURL = renderResponse.createRenderURL() | |
| dlAppLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLAppLocalServiceUtil"] | |
| dlUtil = staticUtil["com.liferay.document.library.kernel.util.DLUtil"] | |
| dLFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") |
OlderNewer