org.teiid.dqp.internal.process
Interface AuthorizationValidator

All Known Implementing Classes:
DefaultAuthorizationValidator

public interface AuthorizationValidator

Defines a validator that checks for proper authorization.


Method Summary
 boolean hasRole(java.lang.String roleName, CommandContext commandContext)
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void validate(Command command, QueryMetadataInterface metadata, CommandContext commandContext)
           
 

Method Detail

validate

void validate(Command command,
              QueryMetadataInterface metadata,
              CommandContext commandContext)
              throws QueryValidatorException,
                     TeiidComponentException
Throws:
QueryValidatorException
TeiidComponentException

hasRole

boolean hasRole(java.lang.String roleName,
                CommandContext commandContext)

isEnabled

boolean isEnabled()

setEnabled

void setEnabled(boolean enabled)


Copyright © 2011. All Rights Reserved.