As per offline chat with Amila, this seems to have introduced during UM API separation.
Will do the above correction as well, since I will be doing some refactoring in this class according to a recent code review. Thanks, Hasini. On Mon, Jun 27, 2011 at 8:48 PM, Amila Suriarachchi <[email protected]> wrote: > Add role method has implemented like this, > > public void addRole(String roleName, String[] userList, > org.wso2.carbon.user.api.Permission[] permissions) > throws org.wso2.carbon.user.api.UserStoreException { > addRole(roleName, userList, (Permission[]) permissions); > > } > > in org.wso2.carbon.user.core.ldap.LDAPUserStoreManager.java. > > but org.wso2.carbon.user.core.Permission class extends the > org.wso2.carbon.user.api.Permission > > public class Permission extends org.wso2.carbon.user.api.Permission { > > So it cast down the inheritance hierarchy. > > thanks, > Amila. > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
