# Re: JCE1.2 doc: Where is SUN provider class?

Edward McKnight (Edward.McKnight@Eng)
Mon, 23 Nov 1998 12:19:44 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Abdul H. Aziz: "SignExample/Security"
- Previous message: schemers@Eng: "Re: JCE1.2 doc: Where is SUN provider class?"
- Maybe in reply to: EDWARD MCKNIGHT: "JCE1.2 doc: Where is SUN provider class?"

Quite right. My goof. But at least I was reading the docs :)

I'd suggest that the docs might be a bit clearer by directing the user
into the jre dirctory for lib/security as well as pointing out that the
default jdk1.2 *already* has provider SUN entered as preference #1. I
read that paragraph as informing me of an action I had to take.

Thanks very much for the help.

--emk

> Date: Mon, 23 Nov 1998 12:14:36 -0800 (PST)
> From: Jan Luehe <luehe@laguna>
> Subject: Re: JCE1.2 doc: Where is SUN provider class?
> To: Edward.McKnight@Eng
> Cc: java-security@java.Sun.COM, Edward.McKnight@Eng
>
> Edward:
>
> When you look at the "java.security" file, you'll see:
>
> -------------
>
> # security.provider.1=sun.security.provider.Sun
> #
> # (The number 1 is used for the default provider.)
> #
> # Note: Statically registered Provider subclasses are instantiated
> # when the system is initialized. Providers can be dynamically
> # registered instead by calls to either the addProvider or
> # insertProviderAt method in the Security class.
>
> #
> # List of providers and their preference orders (see above):
> #
> security.provider.1=sun.security.provider.Sun
>
> -------------
>
> The line that is commented out is part of the documentation
> of this file, and is followed by the same line *not* commented
> out.
>
> Jan
>
>
>
>
>
>
> > Date: Mon, 23 Nov 1998 12:06:32 -0800 (PST)
> > From: Edward McKnight <Edward.McKnight@Eng>
> > Subject: Re: JCE1.2 doc: Where is SUN provider class?
> > To: luehe@laguna.eng.sun.com
> > Cc: java-security@java.Sun.COM, Edward.McKnight@Eng
> > MIME-Version: 1.0
> > Content-MD5: rhFiEbxdFnIzBjuWpTK9Wg==
> >
> >
> > OK, I found the lib/security. It was under jre/lib not <jdk>/lib which
> > is where I looked when the docs said "java.security file in the
> > lib/security directory of your JDK installation..."
> >
> > I've added the SunJCE entry and my code now works. But I notice that
> > the "security.provider.1=sun.security.provider.Sun" line is commented
> > out by default and my code runs fine. The docs state: " This means that
> > when you install the "SunJCE" provider, you have to make sure that the
> > "SUN" provider is also installed."
> >
> > "Installing" the SunJCE means adding an entry to the security file.
> > Apparently it doesn't mean the same thing for the "SUN" provider ??
> >
> > thx, --emk@eng
> >
> > >
> > >
> > > > My install of java (Classic VM (build JDK-1.2fcs-R, green threads,
> > > > nojit)) didn't have a default lib/security/java.security file. Didn't
> > > > even have the security directory!
> > > >
> > > > I've created the entry for SunJCE but can't find SUN provider classes to
> > > > enter.
> > >
> > >
> > > Are you sure?
> > >
> > > I remember installing the R build, and there was a
> > > lib/security directory and a lib/security/java.security file.
> > >
> > > Jan
> > >
> >
>

- Next message: Abdul H. Aziz: "SignExample/Security"
- Previous message: schemers@Eng: "Re: JCE1.2 doc: Where is SUN provider class?"
- Maybe in reply to: EDWARD MCKNIGHT: "JCE1.2 doc: Where is SUN provider class?"