hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Yan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9848) Create a MiniKDC for use with security testing
Date Mon, 12 Aug 2013 18:06:48 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wei Yan updated HADOOP-9848:
----------------------------

    Attachment: HADOOP-9848.patch

After offline discussion with [~tucu00], here we keep using @Before and @After instead of
@BeforeClass and @AfterClass.

Using @BeforeClass and @AfterClass would cause the other two functions (createTestDir() and
createMiniKdcConf()) to be static. That means users cannot override these two functions with
new settings.

With @Before and @After, users can inherit class KerberosSecurityTestcase and override functions
createTestDir() and createMiniKdcConf() if needed. Note that the kdc will be created and stopped
for each @Test function.
                
> Create a MiniKDC for use with security testing
> ----------------------------------------------
>
>                 Key: HADOOP-9848
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9848
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security, test
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>         Attachments: HADOOP-9848.patch, HADOOP-9848.patch, HADOOP-9848.patch, HADOOP-9848.patch
>
>
> Create a MiniKDC using Apache Directory Server. MiniKDC builds an embedded KDC (key distribution
center), and allows to create principals and keytabs on the fly. MiniKDC can be integrated
for Hadoop security unit testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message