I am trying to get number of configured user store in custom
authentication class.
configured two user stores one for Novell LDAP and one for Sun LDAP.
configured a custom authentication class NIS.
configured a method in NIS with both the user stores.
Configured a contract for my protected resources.

now when custom authentication class initialized getting number of
configured user stores 0 instead of 2.
code snippet is as:

userStoreCount = getUserAuthorityCount(); // getting User Store count
myLogger.trace(" User stores in NIS..." + userStoreCount); // here i am
getting 0 instead of 2
if(userStoreCount > 0) {


vaibhavkhare's Profile: https://forums.netiq.com/member.php?userid=5266
View this thread: https://forums.netiq.com/showthread.php?t=48056