Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Equinox/Eclipse RCP JAAS integration/sample


Hi Marcelo,
That page seems to be quite outdated and probably is not a good starting point. There is some documentation found in the Help file shipped with Eclipse 3.4:

   Platform Plug-in Developer Guide -> Programmer's Guide -> Runtime Overview -> Security -> Login based on JAAS

The sample bundle (org.eclipse.equinox.security.sample) can be found in the Equinox incubator under
   
   Head / equinox-incubator / security / org.eclipse.equinox.security.sample

It uses org.eclipse.equinox.security.* bundles supplied in the Equinox 3.4. If needed, the source code for those bundles can be found under
   
   Head / org.eclipse.equinox / security / bundles

(this last location will change in a week or two as Equinox moves to become a part of the Runtime project).


As far as implementations go, the starting points would be that Help page, the following extension points:

org.eclipse.equinox.security.loginConfigurationProvider                -> an alternative to JAAS config file to supply configuration description for a name
org.eclipse.equinox.security.callbackHandlerMapping                -> maps configuration name to the callback handler
org.eclipse.equinox.security.callbackHandler                        -> a way to describe javax.security.auth.CallbackHandler
org.eclipse.equinox.security.loginModule                        -> a way to describe javax.security.auth.spi.LoginModule

and you can take a look at the AuthApplication class from the org.eclipse.equinox.security.sample as one example as to how they can be used.

Thanks,
Oleg




"Marcelo Alcantara" <maralc@xxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

07/27/2008 11:55 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
equinox-dev@xxxxxxxxxxx
cc
Subject
[equinox-dev] Equinox/Eclipse RCP JAAS integration/sample





Hi,

We are trying to use the security plugin mentioned on this  wiki page:

http://wiki.eclipse.org/Security:_JCA/JAAS_framework_contribution

It talks about a product configuration file
(org.eclipse.equinox.security.sample.authProduct), but we could not
find this file anywhere on the cvs server.

It this the correct location?

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.equinox/security/

We are really interested in using the eclipse 3.4 jaas integration but
we are having a lot of difficulty with it.

Somebody can give us some light about this issue? There are more
documentation somewhere?


Thanks in advance.


Marcelo
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top