?
Solved

How to implement Kerberos with applications?

Posted on 2010-09-13
3
Medium Priority
?
946 Views
Last Modified: 2012-05-10
Hello All,
I have been reading information on how to implement kerberos within applications that we have. I need some help understanding what I need to do.  I would like to use a java web application as an example.

1)  Once I have kerberos installed and configured, the service would be the server where my web application is located, correct?

2)  To get the client to use the java web application, I would need to write separate code using JAAS and Java GSS-API to allow authentication and authorization to occur?  I need an example to understand this concept or explanation.  At what point does the client begin using the web application? I am confused.  Is this new code inside my application or is it a separate application?

3) To be clear, once I have kerberos installed and configured, I use JAAS and Java GSS-API for a java application?  What if my application is not written in java, lets say it is written in Fortran on OpenVMS?  I know Kerberos is available on OpenVMS.

Thank you for your input.
0
Comment
Question by:OliviaRedhorse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:OliviaRedhorse
ID: 33676727
Just answer this answer for me.
At what point do I invoke my java web application to begin? For examples sake, lets say I have java web applications (app1 and app2) and the user would like to get to app1.  I am trying to understand where the Kerberos ends and my application begins.  Thank you!
0
 
LVL 5

Accepted Solution

by:
dcesari earned 1500 total points
ID: 33680553
Answer to point 3)

If your application is written in Fortran and not in Java, then the only way to use Kerberos is to find a C API for Kerberos, Fortran can call C code in a more or less standard way, at lest if you have a fairly recent compiler, but not java code.

So for this purpose you need to find a C example of Kerberos web application (I do not know Kerberos, so I cannot help much) and mimic its behavior from Fortran.


0
 

Author Closing Comment

by:OliviaRedhorse
ID: 33793499
Thank you for replying.
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question