org.jasig.portal.security.xslt
Class XalanAuthorizationHelperBean
java.lang.Object
org.jasig.portal.security.xslt.XalanAuthorizationHelperBean
- All Implemented Interfaces:
- IXalanAuthorizationHelper
public class XalanAuthorizationHelperBean
- extends Object
- implements IXalanAuthorizationHelper
Spring managed version of the Xalan Elements helper class used during portal XSL
transformations.
- Version:
- $Revision$
- Author:
- Eric Dalquist
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
XalanAuthorizationHelperBean
public XalanAuthorizationHelperBean()
getChannelRegistryStore
public IChannelRegistryStore getChannelRegistryStore()
- Returns:
- the channelRegistryStore
setChannelRegistryStore
public void setChannelRegistryStore(IChannelRegistryStore channelRegistryStore)
- Parameters:
channelRegistryStore - the channelRegistryStore to set
canRender
public boolean canRender(String userName,
String channelFName)
- Description copied from interface:
IXalanAuthorizationHelper
- Checks if the specified user can render the specified channel.
- Specified by:
canRender in interface IXalanAuthorizationHelper
- Parameters:
userName - Looks up the user with the matching IPerson.USERNAMEchannelFName - Looks up the org.jasig.portal.ChannelDefinition with the matching fname
- Returns:
- true if the user has permission to render the channel, false for any other case.
getUserPrincipal
protected IAuthorizationPrincipal getUserPrincipal(String userName)
Copyright © 2010 Jasig. All Rights Reserved.