org.wso2.registry.jdbc.utils
Class AuthorizationUtil

java.lang.Object
  extended by org.wso2.registry.jdbc.utils.AuthorizationUtil

public class AuthorizationUtil
extends java.lang.Object


Constructor Summary
AuthorizationUtil()
           
 
Method Summary
 java.lang.String getParentPath(java.lang.String childPath)
           
static javax.sql.DataSource getUserManagerDataSource()
           
 void populateRoles(org.wso2.usermanager.Realm realm)
           
 void setDefaultAuthorizations(org.wso2.usermanager.Realm realm, java.lang.String path, java.lang.String authorUserName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationUtil

public AuthorizationUtil()
Method Detail

setDefaultAuthorizations

public void setDefaultAuthorizations(org.wso2.usermanager.Realm realm,
                                     java.lang.String path,
                                     java.lang.String authorUserName)
                              throws RegistryException
Throws:
RegistryException

getParentPath

public java.lang.String getParentPath(java.lang.String childPath)

populateRoles

public void populateRoles(org.wso2.usermanager.Realm realm)
                   throws org.wso2.usermanager.UserManagerException
Throws:
org.wso2.usermanager.UserManagerException

getUserManagerDataSource

public static javax.sql.DataSource getUserManagerDataSource()
                                                     throws RegistryException
Throws:
RegistryException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.