• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to createSASL client instance on WAS61

 
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We are trying to make use of SASL authentication for some requirement in our application but somehow when we try to locate the available SASL factories in com.sun.net.ssl package no factories are returned hence there by, not able to create SASLClient instance.

We are basically looking out for implementing a PLAIN authentication in our application.

Are there any special settings in the perspective of JAVA security need to be enabled?

Thanks in advance,
Jaya Krishna
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jaya,

What kind of application is this (wht not use JEE declerative security)? If this is a web application, and that's authentication you're after, then you have plenty of choices that can be configured easily like basic, digest, form based etc. by configuring your web application deployment descriptor.

TBH I never had to use this before, but here's how I guess you shall create a SASL client;



BTW, Sasl here is javax.security.sasl.Sasl.

For detailed explanation and code snippets you may check out Security Information of IBM Java 5 SDK (that's what WAS 6 uses).
 
reply
    Bookmark Topic Watch Topic
  • New Topic