org.apache.jetspeed.portlets.security
Class SecurityUtil
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.portals.gems.browser.BrowserPortlet
org.apache.jetspeed.portlets.security.SecurityUtil
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig, Browser
- Direct Known Subclasses:
- UserChooserPortlet
public abstract class SecurityUtil
- extends BrowserPortlet
Abstract Security Browser - factored out common functionality for security browsers
- Version:
- $Id: SecurityUtil.java 348264 2005-11-22 22:06:45Z taylor $
- Author:
- David Sean Taylor
Fields inherited from class org.apache.portals.gems.browser.BrowserPortlet |
BROWSER_ACTION_KEY, BROWSER_ITERATOR, BROWSER_TABLE_SIZE, BROWSER_TITLE_ITERATOR, context, CUSTOMIZE_TEMPLATE, FILTER, FILTERED, FIND, FIRST, LAST, LINKS_READ, log, NEXT, PEID, POOLNAME, PREVIOUS, ROW_LINK, ROW_LINK_IDS, ROW_LINK_TARGETS, ROW_LINK_TYPES, SEARCH_COLUMN, SEARCH_STRING, SORT_COLUMN_NAME, SQL, SQL_PARAM_PREFIX, sqlParameters, sso, START, TABLE_LINK, TABLE_LINK_IDS, TABLE_LINK_TARGETS, TABLE_LINK_TYPES, USER_OBJECT_NAMES, USER_OBJECT_TYPES, USER_OBJECTS, VELOCITY_NULL_ENTRY, WINDOW_SIZE |
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
PORTLET_BRIDGE_CONTEXT |
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE |
Method Summary |
static java.lang.String |
getAbsoluteUrl(javax.portlet.RenderRequest renderRequest,
java.lang.String relativePath)
|
static java.security.Principal |
getPrincipal(javax.security.auth.Subject subject,
java.lang.Class classe)
|
static boolean |
isEmpty(java.lang.String s)
|
static void |
publishErrorMessage(javax.portlet.PortletRequest request,
java.lang.String message)
|
static void |
publishErrorMessage(javax.portlet.PortletRequest request,
java.lang.String topic,
java.lang.String message)
|
Methods inherited from class org.apache.portals.gems.browser.BrowserPortlet |
clearBrowserIterator, doEdit, doView, filter, find, getBrowserIterator, getPreference, getQueryString, getQueryString, getRows, getRows, getStartIndex, getStartVariable, init, populate, processAction, publishStatusMessage, readLinkParameters, readSqlParameters, readUserParameters, setBrowserIterator, setSQLParameters |
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
doCustom, doHelp, doPreferencesEdit, getContext, getContext, render, setupPreferencesEdit |
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityUtil
public SecurityUtil()
getPrincipal
public static java.security.Principal getPrincipal(javax.security.auth.Subject subject,
java.lang.Class classe)
isEmpty
public static boolean isEmpty(java.lang.String s)
getAbsoluteUrl
public static java.lang.String getAbsoluteUrl(javax.portlet.RenderRequest renderRequest,
java.lang.String relativePath)
publishErrorMessage
public static void publishErrorMessage(javax.portlet.PortletRequest request,
java.lang.String message)
publishErrorMessage
public static void publishErrorMessage(javax.portlet.PortletRequest request,
java.lang.String topic,
java.lang.String message)
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.