[jira] [Commented] (DIRKRB-412) Update NOTICE file with required attributions of used dependencies

2016-05-24 Thread Jiajia Li (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRKRB-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15299293#comment-15299293
 ] 

Jiajia Li commented on DIRKRB-412:
--

Yes, this issues was raised last year and not solved in time. Thanks your for 
the detail guide, I will change the NOTICE file according the suggestions.

> Update NOTICE file with required attributions of used dependencies
> --
>
> Key: DIRKRB-412
> URL: https://issues.apache.org/jira/browse/DIRKRB-412
> Project: Directory Kerberos
>  Issue Type: Improvement
>Affects Versions: 1.0.0-RC2
>Reporter: Xu Yaning
>Assignee: Jiajia Li
>
> As is reported by Stefan, we should update the NOTICE file with the required 
> attributions of used dependencies (slf4j, netty, gson). That is required as 
> soon as we publish a binary package that includes the dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Travel to Vancouver and Bay Area

2016-05-24 Thread Shawn McKinney

> On May 24, 2016, at 5:31 PM, Zheng, Kai  wrote:
> 
> t’s pretty cool and my great honor to see you in the conference, Lucas, Shawn 
> and Alex!! We talked much and it’s a lot of fun, though we’re not able to 
> meet together for a Directory discussion… it’s the pity.
>  
> What I understood would be, contribution might be hard and we may earn 
> nothing, but at least we can have some friends in the world and talk 
> something when we meet. Just ping me when you on board to Shanghai, China, 
> someday in future …
>  

Kai,

Agreed, it was very cool hanging out with fellow directory project members.  We 
need to keep the discussions going btw.  There is so much work that needs to be 
completed, and some of it needs to be done under this project.

And thanks for the invitation.  China is on my bucket list so I’ll get over 
there one day.

Best,

Shawn

[jira] [Updated] (DIRKRB-542) Kerby Authorization

2016-05-24 Thread Gerard Gagliano (JIRA)

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

Gerard Gagliano updated DIRKRB-542:
---
Attachment: ADAll.patch

This is a combined patch for all Authorization Data modifications made for the 
Kerby Project.  This patch is for formal review.

Note:
Superfluous edits have been removed.
80 column guidline followed where sensible.
RFC definitions added to AuthorizationType
All tests pass

The following files are added:
kerb-core/  /kerberos/kerb/type/ad/ADAndOr.java
kerb-core/  /kerberos/kerb/type/ad/ADAuthenticationIndicator.java
kerb-core/  /kerberos/kerb/type/ad/ADCamMac.java
kerb-core/  /kerberos/kerb/type/ad/ADEnctypeNegotiation.java
kerb-core/  /kerberos/kerb/type/ad/ADIntendedForApplicationClass.java
kerb-core/  /kerberos/kerb/type/ad/ADIntendedForServer.java
kerb-core/  /kerberos/kerb/type/ad/ADKdcIssued.java
kerb-core/  /kerberos/kerb/type/ad/AndOr.java
kerb-core/  /kerberos/kerb/type/ad/AuthorizationDataWrapper.java
kerb-core/  /kerberos/kerb/type/ad/CamMacOtherVerifiers.java
kerb-core/  /kerberos/kerb/type/ad/CamMacVerifierChoice.java
kerb-core/  /kerberos/kerb/type/ad/CamMacVerifierMac.java
kerb-core/  /kerberos/kerb/type/ad/PrincipalList.java

The following files were modified to support this effort:
kerby-asn1/ /asn1/Asn1FieldInfo.java
kerby-asn1/ /asn1/type/AbstractAsn1Type.java
kerby-asn1/ /asn1/type/Asn1CollectionType.java
kerby-asn1/ /asn1/type/Asn1Constructed.java
kerby-asn1/ /asn1/type/Asn1Encodeable.java
kerby-asn1/ /asn1/type/Asn1Simple.java
kerby-kdc/  /kerberos/kdc/impl/NettyKdcHandler.java
kerby-kdc/  /kerberos/kdc/impl/NettyKdcUdpServerHandler.java
kerb-client//kerberos/kerb/client/preauth/pkinit/PkinitPreauth.java
kerb-core/  /kerberos/kerb/type/ad/AuthorizationData.java
kerb-core/  /kerberos/kerb/type/ad/AuthorizationDataEntry.java
kerb-core/  /kerberos/kerb/type/ad/AuthorizationType.java
kerb-core/  /kerberos/kerb/type/base/KeyUsage.java
kerb-identity/  /kerberos/kerb/identity/CacheableIdentityService.java
kerb-identity/  /kerberos/kerb/identity/IdentityService.java
kerb-identity/  /kerberos/kerb/identity/backend/AbstractIdentityBackend.java
kerb-server//kerberos/kerb/server/preauth/PreauthHandler.java
kerb-server//kerberos/kerb/server/request/KdcRequest.java
kerb-server//kerberos/kerb/server/request/TgsRequest.java
kerb-server//kerberos/kerb/server/request/TicketIssuer.java

The following test was added:
kerb-core/  /kerberos/kerb/codec/ADTest.java

This following tests were modified to work with the above changes.
kerb-core/  /kerberos/kerb/codec/PkinitAnonymousAsRepCodecTest.java
kerb-core/  /kerberos/kerb/codec/PkinitAnonymousAsReqCodecTest.java

Thanks for everyone's help working on this addition and please let us know what 
additional information we can provide.  After approval to commit, I'll be glad 
to do so.

Regards,
Richard Feezel
Gerard Gagliano


> Kerby Authorization
> ---
>
> Key: DIRKRB-542
> URL: https://issues.apache.org/jira/browse/DIRKRB-542
> Project: Directory Kerberos
>  Issue Type: Sub-task
>Reporter: Gerard Gagliano
>Assignee: Gerard Gagliano
> Attachments: ADAll.patch, ad.patch, ad2.patch, ad3.patch, adtest.patch
>
>
> Kerby lacks Authorization classes.  Authorization types from RFC 1510, 4120, 
> 4537, 4556, 6711 and 7751 will greatly enhance the usability of Kerby.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


RE: Travel to Vancouver and Bay Area

2016-05-24 Thread Zheng, Kai
It’s pretty cool and my great honor to see you in the conference, Lucas, Shawn 
and Alex!! We talked much and it’s a lot of fun, though we’re not able to meet 
together for a Directory discussion… it’s the pity.

What I understood would be, contribution might be hard and we may earn nothing, 
but at least we can have some friends in the world and talk something when we 
meet. Just ping me when you on board to Shanghai, China, someday in future …

Regards,
Kai

From: Zheng, Kai [mailto:kai.zh...@intel.com]
Sent: Thursday, May 12, 2016 12:17 AM
To: Apache Directory Developers List 
Subject: RE: Travel to Vancouver and Bay Area

I’m also in. Where is 1230p? Is it in the hotel? Is it possible to have a 
meeting so we might have full time yesterday?

From: Lucas Theisen [mailto:lucasthei...@pastdev.com]
Sent: Wednesday, May 11, 2016 8:48 AM
To: Apache Directory Developers List 
>
Subject: Re: Travel to Vancouver and Bay Area


I'm in.  Where you wanna meet?
On May 11, 2016 8:35 AM, "Shawn McKinney" 
> wrote:
I am onsite now.  Lunch @ 1230p today?

Shawn

> On May 9, 2016, at 10:36 PM, Zheng, Kai 
> > wrote:
>
> Sorry I missed this today. Alex I will try to find you on the following days 
> if you’re still there.
>
> Regards,
> Kai
>
> From: akaras...@gmail.com 
> [mailto:akaras...@gmail.com] On Behalf Of Alex 
> Karasulu
> Sent: Monday, May 09, 2016 10:39 AM
> To: Apache Directory Developers List 
> >
> Subject: Re: Travel to Vancouver and Bay Area
>
> I'm here if any one from directory wants to connect. Chilling by the 
> escalator for the next couple hours on 2nd floor.
>
> Cheers,
> Alex
>
> On Mon, May 9, 2016 at 9:24 AM, Zheng, Kai 
> > wrote:
> Sounds great Colm! I guess we'd be pretty busy on Wednesday, maybe have the 
> meetup on Thursday?
>
> Kai
>
> -Original Message-
> From: Colm O hEigeartaigh 
> [mailto:cohei...@apache.org]
> Sent: Monday, May 09, 2016 2:37 AM
> To: Apache Directory Developers List 
> >
> Cc: ke...@directory.apache.org
> Subject: Re: Travel to Vancouver and Bay Area
>
> Hi Kai,
>
> I'll be at ApacheCon as well from Wednesday to Friday, it sounds like we have 
> enough people for an Apache Directory meetup ;-)
>
> Colm.
>
>
>
> On Fri, May 6, 2016 at 11:12 PM, Zheng, Kai 
> > wrote:
>
> > Thanks!! A big pity you won't be there but I guess we could eventually
> > be able to meet elsewhere in future!
> >
> > -Original Message-
> > From: Emmanuel Lécharny 
> > [mailto:elecha...@gmail.com]
> > Sent: Saturday, May 07, 2016 6:07 AM
> > To: ke...@directory.apache.org
> > Subject: Re: Travel to Vancouver and Bay Area
> >
> > Le 06/05/16 23:41, Zheng, Kai a écrit :
> > > Hi Shawn, it's great we'll be able to have a meet. Yes, the whole
> > > next
> > week I'll be hanging there.
> >
> > Ra... I wish I could have gone :/
> >
> > Enjoy the trip, and have some nice meeting with Shawn and Lucas ! All
> > my best to all of you, guys !
> >
> >
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>
>
>
> --
> Best Regards,
> -- Alex


[jira] [Commented] (DIRKRB-412) Update NOTICE file with required attributions of used dependencies

2016-05-24 Thread Stefan Seelmann (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRKRB-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298694#comment-15298694
 ] 

Stefan Seelmann commented on DIRKRB-412:


Hi Jiajia,

I remeber that I raised that issue during a vote last year, but recently during 
the Fortress release I digged a bit deeper into the legal files requirements 
(see 
https://mail-archives.apache.org/mod_mbox/directory-dev/201603.mbox/%3c56e9f5dd.2010...@stefan-seelmann.de%3E).

I think the very same applies to Kerby, so here are my suggestions:
* LICENSE and NOTICE files in the root folder should only contain the AL2.0 and 
standard notice (without any attributions), because they are used for the 
source release package and I assume that the Kerby source code doesn't include 
any 3rd party source code.
* Minor: the NOTICE file should use the bare form without the ".txt" extension
* Also for the distributed Maven jars no attributions are required because they 
only contain the compiled sources but no 3rd party dependencies are bundled.
* Only if we plan to distribute a binary package that includes 3rd party 
bundles (e.g. kdc-dist with gson, netty, slf4j) then only that package must 
contain the additional licenses and attributens. If that is planned I'd be 
happy to assist.

HTH,
Stefan


> Update NOTICE file with required attributions of used dependencies
> --
>
> Key: DIRKRB-412
> URL: https://issues.apache.org/jira/browse/DIRKRB-412
> Project: Directory Kerberos
>  Issue Type: Improvement
>Affects Versions: 1.0.0-RC2
>Reporter: Xu Yaning
>Assignee: Jiajia Li
>
> As is reported by Stefan, we should update the NOTICE file with the required 
> attributions of used dependencies (slf4j, netty, gson). That is required as 
> soon as we publish a binary package that includes the dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRKRB-542) Kerby Authorization

2016-05-24 Thread Kai Zheng (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRKRB-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298245#comment-15298245
 ] 

Kai Zheng commented on DIRKRB-542:
--

Thanks Gerard for the update providing the tests.

Would you combine all the patches together and provide the formal patch for the 
review? If you think the work can be logically broken down into smaller units, 
then please fire separate sub task jiras to upload them. Please double check 
above review comments and see if they're fixed or not. When reviewing is 
passed, committer will help do the commit, per Apache project conventions.

> Kerby Authorization
> ---
>
> Key: DIRKRB-542
> URL: https://issues.apache.org/jira/browse/DIRKRB-542
> Project: Directory Kerberos
>  Issue Type: Sub-task
>Reporter: Gerard Gagliano
>Assignee: Gerard Gagliano
> Attachments: ad.patch, ad2.patch, ad3.patch, adtest.patch
>
>
> Kerby lacks Authorization classes.  Authorization types from RFC 1510, 4120, 
> 4537, 4556, 6711 and 7751 will greatly enhance the usability of Kerby.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DIRKRB-542) Kerby Authorization

2016-05-24 Thread Gerard Gagliano (JIRA)

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

Gerard Gagliano updated DIRKRB-542:
---
Attachment: adtest.patch

Test for Authorization Data.  This phase of the work is complete.  We will 
commit it upon approval.

> Kerby Authorization
> ---
>
> Key: DIRKRB-542
> URL: https://issues.apache.org/jira/browse/DIRKRB-542
> Project: Directory Kerberos
>  Issue Type: Sub-task
>Reporter: Gerard Gagliano
>Assignee: Gerard Gagliano
> Attachments: ad.patch, ad2.patch, ad3.patch, adtest.patch
>
>
> Kerby lacks Authorization classes.  Authorization types from RFC 1510, 4120, 
> 4537, 4556, 6711 and 7751 will greatly enhance the usability of Kerby.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (DIRKRB-412) Update NOTICE file with required attributions of used dependencies

2016-05-24 Thread Jiajia Li (JIRA)

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

Jiajia Li resolved DIRKRB-412.
--
Resolution: Fixed

commit 6dfaa43a616815a25f7823e8df2985d0f3e19899
Author: plusplusjiajia 
Date:   Tue May 24 16:33:08 2016 +0800

Add the copyright in NOTICE.


> Update NOTICE file with required attributions of used dependencies
> --
>
> Key: DIRKRB-412
> URL: https://issues.apache.org/jira/browse/DIRKRB-412
> Project: Directory Kerberos
>  Issue Type: Improvement
>Affects Versions: 1.0.0-RC2
>Reporter: Xu Yaning
>Assignee: Jiajia Li
>
> As is reported by Stefan, we should update the NOTICE file with the required 
> attributions of used dependencies (slf4j, netty, gson). That is required as 
> soon as we publish a binary package that includes the dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRKRB-412) Update NOTICE file with required attributions of used dependencies

2016-05-24 Thread Jiajia Li (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRKRB-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15297880#comment-15297880
 ] 

Jiajia Li commented on DIRKRB-412:
--

commit 8a3559bc4c8c7b069b0235a5a6c85062ca6f44a8
Author: plusplusjiajia 
Date:   Tue May 24 16:21:39 2016 +0800

DIRKRB-412 Update NOTICE file with required attributions of used 
dependencies.

> Update NOTICE file with required attributions of used dependencies
> --
>
> Key: DIRKRB-412
> URL: https://issues.apache.org/jira/browse/DIRKRB-412
> Project: Directory Kerberos
>  Issue Type: Improvement
>Affects Versions: 1.0.0-RC2
>Reporter: Xu Yaning
>Assignee: Jiajia Li
>
> As is reported by Stefan, we should update the NOTICE file with the required 
> attributions of used dependencies (slf4j, netty, gson). That is required as 
> soon as we publish a binary package that includes the dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (DIRKRB-529) Request a TGT with user token credential and tgt ticket

2016-05-24 Thread Jiajia Li (JIRA)

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

Jiajia Li resolved DIRKRB-529.
--
Resolution: Fixed

commit 8eb310de783d7e5958cae8d5bd6ab6b239d9e67f
Author: plusplusjiajia 
Date:   Fri Jan 29 16:29:56 2016 +0800

DIRKRB-529 Request a TGT with user token credential and tgt ticket.

> Request a TGT with user token credential and tgt ticket
> ---
>
> Key: DIRKRB-529
> URL: https://issues.apache.org/jira/browse/DIRKRB-529
> Project: Directory Kerberos
>  Issue Type: Bug
>Affects Versions: 1.0.0-RC2
>Reporter: Jiajia Li
>Assignee: Jiajia Li
>
> Add the api in KrbTokenClient.
> The used tgt ticket can be get from the anonymous pkinit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (DIRKRB-572) Implement Delete_Principal on Remote Kadmin

2016-05-24 Thread Jiajia Li (JIRA)

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

Jiajia Li resolved DIRKRB-572.
--
Resolution: Fixed

commit c962f4ab4e97744720130215e04a9a7a27630b12
Author: plusplusjiajia 
Date:   Tue May 24 14:28:17 2016 +0800

DIRKRB-572 Implement Delete_Principal on Remote Kadmin. Contributed by Yan.


> Implement Delete_Principal on Remote Kadmin
> ---
>
> Key: DIRKRB-572
> URL: https://issues.apache.org/jira/browse/DIRKRB-572
> Project: Directory Kerberos
>  Issue Type: Improvement
>Reporter: YanYan
> Attachments: DIRKRB-572-v1.patch
>
>
> Use XDR to encode and decode Remote Kadmin Request to implement
> delete principal function.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)