narayanan

Greenhorn
+ Follow
since Jan 29, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by narayanan

Hi

I am trying to call secured EJB from stanalone client.

Here is my code:
lc = new LoginContext("ClientContainer", new WSCallbackHandlerImpl("admin","whatever"));

lc.login();
System.out.println(lc.getSubject());
com.ibm.websphere.security.auth.WSSubject.setRunAsSubject(lc.getSubject());
com.ibm.websphere.security.auth.WSSubject.doAs(lc.getSubject(), new PrivilegedAction() {
public Object run() {
try {
List l = SecurityAdapter.getBusinessUnitsForExtend();
System.out.println(l);
} catch (SecurityServiceException e) {
e.printStackTrace();
}
return null;
}
});


Its able to authenticate but when I call getCallerPrincipal at EJB side. it fails to get my Custom Principal and it gets Unauthenticated.

Can anyone please help me.

Thanks
Narayanan
20 years ago
Passed from Minnesota, USA

Thanks to god for getting me passed after 4.5 hrs of exam.

I was able to see this result in 2test. I was wondering whether the results are going to come in Sun CertManager site.

Thanks to everybody for the help. My Special thanks to Richard Monson Haefel for his great book.
"Designing Web Services with the J2EE 1.4 Platform" on the following address: http://java.sun.com/blueprints/guidelines/designing_webservices/
"Designing Web Services with the J2EE 1.4 Platform" on the following address: http://java.sun.com/blueprints/guidelines/designing_webservices/
Hi Guys

I took the exam last saturday. I felt the exam was ok. Some of the multiple choice questions were tough (deciding the second choice).

Following are my suggestions:
1) read WS Security from Inderjeet's book.
2) read handlers very well ( I had left this topic thinking its not in syllabus :-( ).
3) Focus on XML schema
4) Try to remember the structure of SOAP and UDDI
5) Pattern matching questions were simple but takes some time to solve it.

This group has been a lot of help to me. Thanks a lot to all the members.

Regards
Narayanan
SCEA, SCJP
I am not kidding!!! 11 diagrams were drawn to have overall view of my solution. I tried to give a solution in such a way if its given to developers, they should able to develop it.
In real life projects for which i work have more diagrams than this and with far better clarity.
regards
Narayanan :-)
I am happy to say that i have cleared Part 2 & 3 with 83% marks
One good thing i got results within 4 weeks :-)
Here is the break up
Sequence 12/12
Class 33/44
Component 38/44
I am thankful to everybody in this group those who helped in achieving this certification.
My solution had in all 20 diagrams with 11 class diagrams, 2 comp and 7 sequence
I dont know why i got less in Class diagrams as i had provided all minute details. I have also shown view of participating classes diagram.
My component was more on same lines with Mark Cade's book. I had done 2 mistakes in component of showing wrong dependency for that i would have lost marks. I have also provided the generic sequence flow for application client.
I had based my solution for thin client on JSP model 2 architecture...
I tried to cover my component mistakes in part 3.
I think i would have lost marks for providing less documentation.
I had used Rational Rose for this assignment and found it to be really cool..
I felt great in solving this assignment as it had taught lot of things.
My Suggestions are
be clear on your architecture type you are suggesting
better to use j2ee patterns (Core J2EE patterns book)
along with EJB Design Patterns Book.
try to include application client in ur solution so that it gives complete solution
150 hrs of work should take you through..
I had problem with uploading assignment so its better you check 2 days before that Sun has given you permission..
Best of luck to those who are appearing for the exam...
My special thanks to Vidya and many others for their advice.
Thanks and Regards
Narayanan S
Thanx vidya. I thought the book was in pdf format in the CD along with the book.
regards
Narayanan
Hi all,
I am in search of this book Enterprise Java with UML by Arrington. In my country (India) its not available. I wanted to know whether its available in pdf format if so plz forward the link or mail me the pdf at narayanan.sangameswaran@wipro.com.
I would also like to know usefulness of this book for Part 2 SCEA.
thanks in advance
Regards
Narayanan
Hi Atif,
Its very difficult to say one is prepared for the exam. As extensive mocks are not available general fear is there before exam. Dont get in to tensions. Dont worry about time as sufficient time is available. Try to read as much as possible in to UML, EJB, Design Patterns.
Best of Luck.
Regards
Narayanan
SCJP2, SCEA (Part 1)
Congrajulations Manjunath
regards
Narayanan
SCJP2, SCEA (Part 1)
Hi all,
Can anyone who has taken vouncher from India for SCEA part 2 help me out. I wanted to know tha address where the DD has to be send for getting the vouncher. Also the DD amount in Indian rupees along with payable name for DD.
thanks in advance.
Regards
Narayanan
SCJP2, SCEA (Part 1)
Hi all,
Can anyone please post the resources required for Part 2. I would be thankful also for providing links to the sites.
Thanks in Advance.
regards
Narayanan
Hi all,
http://java.sun.com/sfaq/
the above link has a good resource on applet security.
regards
Narayanan
SCJP2, SCEA (part 1)