org.teiid.query.function.source
Class SecuritySystemFunctions

java.lang.Object
  extended by org.teiid.query.function.source.SecuritySystemFunctions

public class SecuritySystemFunctions
extends Object


Constructor Summary
SecuritySystemFunctions()
           
 
Method Summary
static boolean hasRole(CommandContext context, String roleName)
           
static boolean hasRole(CommandContext context, String roleType, String roleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuritySystemFunctions

public SecuritySystemFunctions()
Method Detail

hasRole

public static boolean hasRole(CommandContext context,
                              String roleName)
                       throws FunctionExecutionException
Throws:
FunctionExecutionException

hasRole

public static boolean hasRole(CommandContext context,
                              String roleType,
                              String roleName)
                       throws FunctionExecutionException
Throws:
FunctionExecutionException


Copyright © 2012. All Rights Reserved.