org.jasig.portal.security.xslt
Interface IXalanAuthorizationHelper

All Known Implementing Classes:
XalanAuthorizationHelper, XalanAuthorizationHelperBean

public interface IXalanAuthorizationHelper

Authorization helper APIs.

Version:
$Revision$
Author:
Eric Dalquist

Method Summary
 boolean canRender(String userName, String channelFName)
          Checks if the specified user can render the specified channel.
 

Method Detail

canRender

boolean canRender(String userName,
                  String channelFName)
Checks if the specified user can render the specified channel.

Parameters:
userName - Looks up the user with the matching IPerson.USERNAME
channelFName - 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.


Copyright © 2010 Jasig. All Rights Reserved.