org.jasig.portal.security.xslt
Class XalanAuthorizationHelper
java.lang.Object
org.jasig.portal.security.xslt.XalanAuthorizationHelper
- All Implemented Interfaces:
- IXalanAuthorizationHelper
public class XalanAuthorizationHelper
- extends Object
- implements IXalanAuthorizationHelper
Provides a Spring locating facade in front of an actual IXalanAuthorizationHelper since the Xalan
elements can only instantiate classes directly.
- Version:
- $Revision$
- Author:
- Eric Dalquist
|
Method Summary |
boolean |
canRender(String userName,
String channelFName)
Checks if the specified user can render the specified channel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XalanAuthorizationHelper
public XalanAuthorizationHelper()
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.
- See Also:
IXalanAuthorizationHelper.canRender(java.lang.String, java.lang.String)
Copyright © 2010 Jasig. All Rights Reserved.