users@glassfish.java.net

Re: PasswordLoginModule deprecated in trunk?

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Tue, 27 Jul 2010 07:22:10 +0200

Thanks,

still, what was the reason behind the deprecation? Was that, that you
don't want to support it as it is, or was there some functionality
problem, which I'm going to have to address for my module-refactoring?

Thanks,
Peter

2010-07-26 08:21 keltezéssel, V B Kumar Jayanti írta:
>
>
> This has been deprecated since long. I have corrected the javadoc error the classname is AppservPasswordLoginModule.
>
> thanks.
>
>> Hi,
>>
>> I'm trying to update a bit old code for a PasswordLoginModule subclass,
>> but I found it in the JavaDoc, that the PasswordLoginModule class is
>> going to be deprecated, and in fact in GFv3 trunk it is already deprecated.
>> The JavaDoc says this:
>> /**
>> * Abstract base class for password-based login modules.
>> * Newer implementations should extend
>> * com.sun.appserv.security.AbstractLoginModule. This class is
>> provided for
>> * backward compatibility and is a candidate for deprecation.
>> *
>> */
>>
>> This is really nice, but where the heck is this AbstractLoginModule
>> class? I've grepped on it in v3 trunk and couldn't find it there either
>> nor in the 3.0.1 modules folder. Any hint on this? What is the reason
>> behind deprecating the PasswordLoginModule class? If I reimplement it
>> as
>> an AppservPasswordLoginModule subclass (which is not deprecated), what
>> difference would I see against the probably non-existing
>> AbstractLoginModule?
>>
>> //if it's now deprecated, when will this be removed from the sourcebase?
>>
>> Thanks in advance,
>>
>> Regards,
>> Peter