Elton Kuzniewski

Ranch Hand
+ Follow
since Dec 06, 2007
Elton Kuzniewski
SCJA 1.0, SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCJD (B&S - working on project),

www.eltonk.com.br
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Elton Kuzniewski

My guess, he's trying to warn you about KISS concept... Keep It Simply Stupid.

Why should you concern about a requirement not specified in your exam.
Doing that you're giving unnecessary things to be measured, and so more chance to do a mistake...
I was afraid about that... That is the exactly way that I was able to do a database login...

The big problem using this approach is that all others webapps should use the same authentication method...
6 years ago
Hello Alexandre!

I've been trying to figure out that too!

The IBM's documentation is not clearly about that...

Have you found a solution for your case? How did you do?

Thanks!
6 years ago
Hi there!

I did a lot of research about it, but I didn't find a good document or article that solves my concerns...

I have a Java EE EAR App that I need to authenticate my users using a Oracle database.
Using JBoss it's a simple job... I just need to configure a JDBCRealm and set it into my web.xml

But I couldn't realize how is the best way to do it using WebSphere!

Using a FORM based authentication, the j_security_check uses the Default WebSphers Jaas authentication (LDAP if I'm not wrong).
So I've changed the global security configurantion to use a custom LoginModule.

It works perfect to my application, but all JAAS authentication should now use my LoginModule, including the WAS Management console.

Are there a way that I just can set a JDBCRealm to my Application, without need to use a custom LoginModule and more important, without to change others applications' authentications?


Thank's a lot for your help!

6 years ago
The Monkhouse's book is a classic for SCJD. Very easy to read and understand.

There are a new book also, a William Manning's SCJD book. But I never read it.
Maybe someone that reads it can share your concerns with us: http://www.coderanch.com/t/509546/java-developer-SCJD/certification/New-SCJD-book

Roberto Perillo wrote:
Now, RandomAccessFile is like a unanimity, everybody uses it. It is simple to deal with it and it does the job well. I think this discussion also brings up a question (and Debs, think about it): how are you going to deal with the database records? Basically you have 2 options: dealing with them directly in the .db file, or dealing with them in memory.



Hi Roberto!

In your decision to use the data base in memory, what kind of approuch did you use to instanciate all data into memory?
Some kind of singleton that is executed in the first data access?

Thanks man!
It's very nice this brand new option to know and learn about Android. Google is investing a lot of money in this project and I'm pretty sure that it will be the future.
Congratulations to the tree authors! It's a really nice step for a great opportunity.
9 years ago
Your certification has not a validate. It's valid for all your life...
However it's a little bit embarrassing show a 1.2 version of certification when this certification is on version 1.6 for sample...
between:

<jsp:directive.include file="/path"/>

<jsp:directive.include page="/path"/>

<jsp.include file="/path"/>

<jsp.include page="/path"/>

<%@include file="/path"/>

<%@include page="/path"/>

What of them exists and what not? What every ones really make?
A Testquiz question give me:



I'm with a doubt here, because I don't think that letter B is a right answer here.
If I well remember, for web resouce declaration, just the URL Pattern and web resource name are needed. Others descriptors are optional.
Am I wrong?
This url-pattern tells to container how the servlet will be called.

For example:

http://www.mysite.net/shop/action1
http://www.mysite.net/shop/action23
http://www.mysite.net/shop/123

All url's will use the same servlet mapped by servlet-name.
In that case org.myorg.ShoppingServlet.

The actions after the ...shop/ (action1, action23, 123, ...) we can get them in servlet code and use like a flag to choose the action required...
Yeas...
I think that you're right. This param is configured at Servlet just at when it is initialized...

Thanks!
In a Sun free ePractice question:


The aswer is letter B... Ok, I agree about that.
But why the letter C is wrong?! The param-value isn't passed with a parameter to the Servlet?