Tom Riddle

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

Recent posts by Tom Riddle

Hi all,
We have a struts based application on Websphere V6.0 app server. The authentication n authorization data is configured in the database. Now we have to shift to SiteMinder and use LDAP for granular authorization.
I tried to find some docs or tutorials to use SiteMinder with Websphere but could not do so!!
Anyone has any examples, tutorials, docs???
The product site itself has no docs whatsoever!!
17 years ago
Hi,
We are changing our security control from database to LDAP server. Its a struts application on Websphere V6.0 app server.
We have to use Siteminder tool along with LDAP server for authentication n authorization. I have a few questions regarding this.
1. If Siteminder is used for authentication then what is configured on LDAP server?
2. We have huge set of privileges configured in our database, can that be shifted to LDAP or should it be done declarative?
3. Can fine grained authorization be achieved just with LDAP? If so how?
4. Any examples on such a set up? I have been looking for any information but tough to find!
17 years ago
Hi all,
I cleared my SCJP 1.4 with 85%. I felt the test was pretty simple but lot of stupid mistakes on my part. None of the questions was so tough that i couldn't solve.
I had a question to the group too. If i need to take a developer or architect exam say, do i need to upgrade SCJP first? Is it necessary?

Thanks in advance,
Chaitra
18 years ago
int x = 5
bit pattern is 00000000 00000000 00000000 00000101
~x pattern is 11111111 11111111 11111111 11111010

Now since the MSB(most significant bit) is 1 we know its a -ve number. To get the actual value of the -ve number take 2's complement of the number

00000000 00000000 00000000 00000101
+ 1
-----------------------------------
00000000 00000000 00000000 00000110
which is nothing but 6
so ~x = -6

Regards,
Chaitra
Hi,
I have the following code

package test;

class X extends Y
{
public static void main(String argv[])
{
Object x = new X();
x.clone(); // Line 1
Y y = new X();
y.doStuff(); // Line2
}
}

class Y {
protected void doStuff() {
System.out.println("Base");
}
}

in the avove code Line1 throws an error saying "clone() has protected access in java.lang.Object" whereas Line2 compiles fine, but arent they similar? Can anyone please explain?

Regards,
Chaitra
Hi,
First when t.method is called, since the method is static the type is resolved at compile time and so method of base class is called and prints 1.
In the next line the refernce "t" is cast to the sub class type and so the method of subclass is called and prints 0.
So the output is 1 0

Regards,
Chaitra
Hi,
As i read an article i understood that strings from the string literal pool cannot be garbage collected. So what happens to these objects finally? Dont you think its a heavy memory consumption if they live forever? Or is there any other mechanism that happens to prevent this?

Regards,
Chaitra
Hi,
If anyone has SCJP1.4 exam voucher and ready to sell could you please let me know. I am in US. I tried to find vouchers online but they all cost atleast 200$. Could anyone give me pointers?

Thanks,
Chaitra