Help coderanch get a
new server
by contributing to the fundraiser
  • 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

Question for Christopher Steel and Ramesh Nagappan

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to the J2EE side of Java...so this question may seem simple. Where in J2EE is there a package that does AUTHENTICATION? If I understand correctly J2EE has packages for AUTHORIZATION. Does your book cover how to do AUTHENTICATION?

Thanks for your Time.

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

As a mandatory requirement...All J2EE Application Server vendors are required to provide support Container-based security that inclde several authentication mechanisms....such as HTTP BASIC, FORM-BASED, MUTUAL (Client-certificate), HTTP Digest. These are standard authentication services and it is the vendor repsonsibility to make it available as a J2EE service. It is a developer resposibility to incorporate the mechanisms in J2EE apps...."Declaratively" using your deployment descriptors. In case of FORM-BASED you need to create a Login Page.

For custom authentication..the standards approach is using JAAS.

Refer to Chapter 5 of our book...to know more about the mechanisms, how and when to implement them.

/Ramesh
[ January 11, 2006: Message edited by: Ramesh Nagappan ]
 
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic