quality@glassfish.java.net

Re: One more entry - Test application which uses file realm based authentication

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Sat, 30 Aug 2008 09:10:24 -0700

Hi Satya,

Thanks for trying our test framework. If you put this jar in the /lib
what happen ?

I will follow up, when I get answer will let you know :-)

Thanks,
Judy

Satyakrishna Jasti wrote:

>Hi judy
>
>can u tell me how to do testing for webapplications in TestNG
>can i use apacheHTTP for that
>if so the community/lib does not contains the apachehttp.jar
>
>thanks
>
>satya
>
>
>On 8/30/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>
>
>>Hi Kedar,
>>
>>Please click on this link and go to step 4. Thanks. Would like every
>>one try it and give us your input.
>>
>>https://glassfish.dev.java.net/quality/portal/participate.html
>>
>>Thanks,
>>Judy
>>Kedar Mhaswade wrote:
>>
>>
>>
>>>Judy,
>>>
>>>Can you point me to
>>>
>>>"GlassFish Quality Community Test Framework"?
>>>
>>>Thanks,
>>>Kedar
>>>
>>>Judy Tang wrote:
>>>
>>>
>>>
>>>>Hi Satya,
>>>>
>>>>The rule is "Develop a set of test cases that follow and use the
>>>>GlassFish Quality Community Test Framework".
>>>>
>>>>http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishQualityCommunityAwardsProgram
>>>>
>>>>
>>>>
>>>>Thanks,
>>>>Judy
>>>>
>>>>Satyakrishna Jasti wrote:
>>>>
>>>>
>>>>
>>>>>Hi Judy,
>>>>>
>>>>> I will try converting the tests according to the specified test
>>>>>framework, but that might take some time. Meanwhile can I send two
>>>>>more entries that I have developed, as the contest end date is nearing
>>>>>:)
>>>>>
>>>>>Thanks,
>>>>>Satya
>>>>>
>>>>>On 8/28/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hi Satya,
>>>>>>
>>>>>>Gopal replied to you through another thread. Thanks Gopal.
>>>>>>
>>>>>>Thanks,
>>>>>>Judy
>>>>>>
>>>>>>Satyakrishna Jasti wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi Judy
>>>>>>>
>>>>>>> it was not clear in the sent link the way to add my applications
>>>>>>>into the cvs repository
>>>>>>>how can check-in my code into CVS repository or should i need to
>>>>>>>upload my files into the respective directory structure???
>>>>>>>
>>>>>>>A quick response is appreciated because i need to submit some more
>>>>>>>applications before the contest ends
>>>>>>>
>>>>>>>Thanks
>>>>>>>Satya
>>>>>>>
>>>>>>>On 8/28/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>Hi Satya,
>>>>>>>>
>>>>>>>>This is nice. Would you please look into step 4 to understand
>>>>>>>>how our
>>>>>>>>test framework works and
>>>>>>>>make your tests run with the framework. This is the way we plan
>>>>>>>>to put
>>>>>>>>all the community
>>>>>>>>tests together.
>>>>>>>>
>>>>>>>>https://glassfish.dev.java.net/quality/portal/participate.html
>>>>>>>>
>>>>>>>>Thanks,
>>>>>>>>Judy
>>>>>>>>
>>>>>>>>Satyakrishna Jasti wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Hi,
>>>>>>>>>
>>>>>>>>> attached is a test application which uses the file-realm based
>>>>>>>>>authentication and authorization.
>>>>>>>>>
>>>>>>>>>Thanks,
>>>>>>>>>Satya Krishna Jasti
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>------------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>This Application provides Test Cases for Test Glassfish
>>>>>>>>>Realm capabilites
>>>>>>>>>
>>>>>>>>>Need to create a File Based Realm in GlassFish Server
>>>>>>>>>
>>>>>>>>>Steps to create a relam
>>>>>>>>>
>>>>>>>>>login into glassfish admin console
>>>>>>>>>
>>>>>>>>>goto Security-->Realms
>>>>>>>>>
>>>>>>>>>Name: file
>>>>>>>>>Class Name:
>>>>>>>>>com.sun.enterprise.security.suth.realm.file.FileRealm
>>>>>>>>>JASS context: fileRealm
>>>>>>>>>Key File: ${com.sun.aas.instanceRoot}/config/users-keyfile
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Click save
>>>>>>>>>
>>>>>>>>>Your new Realm will be saved
>>>>>>>>>Now add Users to the Relam
>>>>>>>>>
>>>>>>>>>todo that
>>>>>>>>>goto Click Manage Users--->New
>>>>>>>>>
>>>>>>>>>User Id = User
>>>>>>>>>Group List = Users
>>>>>>>>>password = User
>>>>>>>>>confirm New Password = User
>>>>>>>>>
>>>>>>>>>click ok
>>>>>>>>>
>>>>>>>>>then add another user with
>>>>>>>>>
>>>>>>>>>User Id = Manager
>>>>>>>>>Group List = Managers
>>>>>>>>>Password = Manager
>>>>>>>>>confirm New Password = User
>>>>>>>>>
>>>>>>>>>click ok
>>>>>>>>>
>>>>>>>>>Restart the Server
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>------------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>---------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>For additional commands, e-mail:
>>>>>>>>>quality-help_at_glassfish.dev.java.net
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>
>