|
|
Re: JAAS set-up [message #125332 is a reply to message #125294] |
Tue, 17 March 2009 15:15 |
Eclipse User |
|
|
|
Originally posted by: roland.muecke.itemis.de
p-lex schrieb:
> Try to add the package of this type Callback in the plugin manifest
> under "Imported Packages" in the Dependencies Tab of the manifest editor.
If you add the plugin org.eclipse.equinix.security unter "Required
plugins" and enable option "Reexport this dependency" you get the import
of "javax.security.auth.callback" and many other imports for free.
Wheter this is a good idea may be debatable, but it eases developement
of JAAS login modules.
If the access restriction problem persists check your execution
environment. Maybe it is not sufficient to provide the javax.security
packages (see http://www.eclipsezone.com/eclipse/forums/t97259.html).
--
Roland Mücke
Consultant & Coach
itemis AG
Niederlassung Leipzig
Ludwig-Erhard-Straße 51
04103 Leipzig
Rechtlicher Hinweis:
Registergericht: Amtsgericht Dortmund HRB 20621
Sitz der Gesellschaft: 44536 Lünen, Am Brambusch 15-24
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Prof. Dr. Burkhard Igel (Vorsitzender), Stephan Grollmann,
Michael Neuhaus
|
|
|
|
|
Re: JAAS set-up [message #125918 is a reply to message #125834] |
Mon, 23 March 2009 11:55 |
Eclipse User |
|
|
|
Originally posted by: roland.muecke.itemis.de
Tiago Nunes schrieb:
>>> If the access restriction problem persists check your execution
>>> environment. Maybe it is not sufficient to provide the javax.security
>>> packages (see http://www.eclipsezone.com/eclipse/forums/t97259.html).
>
>> My execution environment for this plug-in is OSGI/Minimum-1.1. Thank
>> you for the link Roland, I will investigate.
>
> Still no luck. Apparently OSGI/Minimum-1.1 is not sufficient, and CDC
> would be. Is this a valid workaround? Will I be able to deploy the
> plug-in onto an equinox container?
I think so. Depending on the installed JRE your equinox may support even
JavaSE-1.6.
Roland
--
Roland Mücke
Consultant & Coach
itemis AG
Niederlassung Leipzig
Ludwig-Erhard-Straße 51
04103 Leipzig
Rechtlicher Hinweis:
Registergericht: Amtsgericht Dortmund HRB 20621
Sitz der Gesellschaft: 44536 Lünen, Am Brambusch 15-24
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Prof. Dr. Burkhard Igel (Vorsitzender), Stephan Grollmann,
Michael Neuhaus
|
|
|
|
Re: JAAS set-up [message #126221 is a reply to message #126145] |
Wed, 25 March 2009 10:41 |
Eclipse User |
|
|
|
Originally posted by: roland.muecke.itemis.de
Tiago Nunes schrieb:
> I am getting closer, changing the execution environment to CDC
> Foundation (1.1) gave me access to some classes (e.g ILoginContext and
> LoginContextFactory in org.eclipse.equinox.security.auth).
> I still don't have access to Callback, CallbackHandler or
> UnsupportedCallbackException, for example.
>
> I am requiring the plug-ins org.eclipse.equinox.security and
> org.eclipse.equinox.security.ui. Are there others that I should require?
Maybe you should check your project settings, especially the JRE System
Library in the Java Build Path. The Execution Environment specified in
MANIFEST.MF does not influence which JDK eclipse uses for compliling.
In order to use JAAS you need at least JDK 1.4.2.
Roland
--
Roland Mücke
Consultant & Coach
itemis AG
Niederlassung Leipzig
Ludwig-Erhard-Straße 51
04103 Leipzig
Rechtlicher Hinweis:
Registergericht: Amtsgericht Dortmund HRB 20621
Sitz der Gesellschaft: 44536 Lünen, Am Brambusch 15-24
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Prof. Dr. Burkhard Igel (Vorsitzender), Stephan Grollmann,
Michael Neuhaus
|
|
|
Powered by
FUDForum. Page generated in 0.02087 seconds