au.edu.jcu.hpc.srb.mcatext.dao.postgresql
Class AuthDaoImpl

java.lang.Object
  extended by au.edu.jcu.hpc.srb.mcatext.dao.postgresql.AuthDaoImpl
All Implemented Interfaces:
AuthDao

public class AuthDaoImpl
extends java.lang.Object
implements AuthDao


Constructor Summary
AuthDaoImpl()
           
 
Method Summary
 java.util.List<AuthPair> getAuthorization(java.lang.String dn, java.util.List<java.lang.String> paths)
          Attempt to locate the most permissive permissions for each path passed in.
 javax.sql.DataSource getMcatDao()
           
 void setMcatDao(javax.sql.DataSource mcatDao)
           
 void setupConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthDaoImpl

public AuthDaoImpl()
Method Detail

setMcatDao

public void setMcatDao(javax.sql.DataSource mcatDao)

getMcatDao

public javax.sql.DataSource getMcatDao()

setupConnection

public void setupConnection()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getAuthorization

public java.util.List<AuthPair> getAuthorization(java.lang.String dn,
                                                 java.util.List<java.lang.String> paths)
Attempt to locate the most permissive permissions for each path passed in. If a path is not in the return set it is because there is no permissions on the given entity.

Specified by:
getAuthorization in interface AuthDao


Copyright © 2008. All Rights Reserved.