What's the point of JAAS
Asked Answered
M

3

6

What's the point of JAAS if I have to write my own {whatever}LoginModule and everything else?

Moriarty answered 23/3, 2009 at 13:27 Comment(0)
S
13

JAAS provides an abstraction layer between your application and the underlying authentication mechanism. Therefore, you could change the authentication mechanism used by your application without having to change any of your application code.

Stereophotography answered 23/3, 2009 at 13:35 Comment(0)
R
6

Well that is the beauty of it really..

We used JAAS in a big mortgage application system, and while we used a LoginModule based on properties, the big mortage bank used an own implemented LoginModule based on active directory, without we ever having to change something in code.

Revile answered 23/3, 2009 at 13:34 Comment(0)
V
3

Just like with any other standard you get portability, plugability, and extensibility for free (or almost for free).

Vevay answered 23/3, 2009 at 13:38 Comment(1)
Dont forget the millions of stack traces you get along with it.Featherhead

© 2022 - 2024 — McMap. All rights reserved.