I don't think it's obfuscation,
only the console calls these methods,
they're like convenience methods or something like that
and they should have been superseeded in release versions,
by the methods we know: getUserCount(), et al
The problem's root is at AbstractUserManager, which declares
these as FINAL, and they only throw exceptions
I changed these (removing the FINALs) and recompiled (Yawwwwwwwl!!!!!!!!!)
and I'm touching DataSourceUserManager. Whenever it's done, I'll merge the
code
(Abstract & DataSource UserManager) and then release my own DSUM.
Still, poking around orion's source (which I don't have!) doesn't seem to be
the 'right' way. I sure wish Karl, Magnus et al would at least say whether
they're
working on it or not, and what are we supposed to do about it.


-----Original Message-----
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 28, 2000 1:23 PM
To: Orion-Interest
Subject: RE: DataSourceUserManager methods


Right, that's certainly the impression I get also. I was getting very
curious so I looked at DataSourceUserManager with TogetherJ, and methods
with the correct signatures exist in that class.

I also believe that the obfuscation slipped up here.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Dunn
Sent: Monday, August 28, 2000 12:49 PM
To: Orion-Interest
Subject: RE: DataSourceUserManager methods


Orion is obfuscating their code and I think has inadvertently obfuscated
these public methods.  These method exist but probably have names like a7i()
now.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Arved Sandstrom
Sent: Friday, August 25, 2000 6:27 AM
To: Orion-Interest
Subject: DataSourceUserManager methods

Hi, all

This has me perplexed. I am calling the published methods getGroups(),
addToGroup() and removeFromGroup() on what is very definitely a valid
instance of com.evermind.sql.DataSourceUserManager, but as you can see from
the compiler excerpt below, the methods are not being recognized. I have
getGroups() returning a java.util.Set, and the other 2 are voids. I expect
all 3 to throw java.sql.SQLException.

The latest Orion API docs definitely have these methods. It sure looks to me
like my signatures are OK, also.

I guess I'd just like confirmation that these methods really exist in
DataSourceUserManager. Thanks.

    [javac]
D:\public\ProductLink\source\com\eplicity\framework\security\OrionUs
erManager.java:195: Method getGroups(com.evermind.sql.DataSourceUser) not
found
in class com.evermind.sql.DataSourceUserManager.
    [javac]         return dsUserManager.getGroups( dsUser );
    [javac]                                       ^
    [javac]
D:\public\ProductLink\source\com\eplicity\framework\security\OrionUs
erManager.java:203: Method addToGroup(com.evermind.sql.DataSourceUser,
com.everm
ind.security.Group) not found in class
com.evermind.sql.DataSourceUserManager.
    [javac]         dsUserManager.addToGroup( dsUser, orionGroup );
    [javac]                                 ^
    [javac]
D:\public\ProductLink\source\com\eplicity\framework\security\OrionUs
erManager.java:211: Method removeFromGroup(com.evermind.sql.DataSourceUser,
com.
evermind.security.Group) not found in class
com.evermind.sql.DataSourceUserManag
er.
    [javac]         dsUserManager.removeFromGroup( dsUser, orionGroup );
    [javac]                                      ^
    [javac] 3 errors






Reply via email to