I am using getUserAuthorityCount() of LocalAuthenticationClass for
getting number of user stores configured in my novell identity server,
but getting 0.

1) wrote custom class.
2) configured a custom class in NIS.
3) Configured a custom class method in NIS.
4) While method configuration configured number of user stores. like 3.
5) Configured a contract for the same.
6) used that contract for my protected resource.

now in my custom class using following statements:
custom class inherits LocalAuthenticationClass
userStoreCount = getUserAuthorityCount();

now here i am getting 0.

My doubt is how custom authentication class communicate with NIS or how
custom authenticate class gets NIS configuration.

any idea how can i get number of configured user store here.


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