org.LexGrid.LexBIG.caCore.dao.orm.selectionStrategy
Class TokenSecurityStrategy

java.lang.Object
  extended by org.LexGrid.LexBIG.caCore.dao.orm.selectionStrategy.TokenSecurityStrategy
All Implemented Interfaces:
DAOSelectionStrategy

public class TokenSecurityStrategy
extends Object
implements DAOSelectionStrategy


Field Summary
private  org.LexGrid.LexBIG.caCore.security.Validator validator
           
 
Constructor Summary
TokenSecurityStrategy()
           
 
Method Summary
 List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList, gov.nih.nci.system.dao.Request request)
          Given a Request, Determine the DAOs to use.
 List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList, gov.nih.nci.system.dao.Request request, QueryOptions queryOptions)
          Given a Request, Determine the DAOs to use (with SecurityTokens).
 org.LexGrid.LexBIG.caCore.security.Validator getValidator()
           
 void setValidator(org.LexGrid.LexBIG.caCore.security.Validator validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validator

private org.LexGrid.LexBIG.caCore.security.Validator validator
Constructor Detail

TokenSecurityStrategy

public TokenSecurityStrategy()
Method Detail

getDAOList

public List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList,
                                  gov.nih.nci.system.dao.Request request)
Description copied from interface: DAOSelectionStrategy
Given a Request, Determine the DAOs to use.

Specified by:
getDAOList in interface DAOSelectionStrategy
Returns:
the list of usable DAOs.

getDAOList

public List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList,
                                  gov.nih.nci.system.dao.Request request,
                                  QueryOptions queryOptions)
Description copied from interface: DAOSelectionStrategy
Given a Request, Determine the DAOs to use (with SecurityTokens).

Specified by:
getDAOList in interface DAOSelectionStrategy
Returns:
the list of usable DAOs.

getValidator

public org.LexGrid.LexBIG.caCore.security.Validator getValidator()

setValidator

public void setValidator(org.LexGrid.LexBIG.caCore.security.Validator validator)