I am trying to implement some sample java code that uses com.sun.net.ssl.internal.ssl.Provider() to achieve SSO to live@edu. I have jre6 and am using Eclipse as an editor. I am receiving the following compile error:
Access restriction: The type Provider is not accessible due to restriction on required library
I realize that I can change the setting in Eclipse to make this a warning rather than an error, but will that really get me past the problem? Why is the "Provider" class restricted?
Can someone explain why I can see the class inside jsse.jar, but I'm not allowed to use it? Is there a way to remove the restriction? One of my coworkers is experiencing a similar problem with another security jar file (jce.jar). I've never encountered this type of problem before and would like to understand more about it if anyone can explain.