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

Dmitry Bedrin commented on DIRKRB-659:
--------------------------------------

[~jiajia] hm, that's not that straightforward - there's not a single unit test 
in this part of code and it is not really unit-test friendly.

 

I can add it, but it will take some time cause I'll either have to refactor the 
InternalKrbClient hierarchy or use PowerMockito to test private methods

> Support authentication with NT-ENTERPRISE principal names
> ---------------------------------------------------------
>
>                 Key: DIRKRB-659
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-659
>             Project: Directory Kerberos
>          Issue Type: New Feature
>    Affects Versions: 1.0.1
>            Reporter: Dmitry Bedrin
>            Priority: Major
>              Labels: patch, windows
>             Fix For: 1.1.1
>
>         Attachments: 
> DIRKRB_659__Support_authentication_with_NT_ENTERPRISE_principal_names.patch
>
>   Original Estimate: 24h
>          Time Spent: 4h
>  Remaining Estimate: 20h
>
> Apache Kerby currently doesn't support authentication using NT-ENTERPRISE 
> principal names.
> See https://tools.ietf.org/html/rfc6806.html for details
> _KrbClientBase_ provides a method for requesting _TGT_ with arbitrary 
> _KOptions_
>     public TgtTicket requestTgt(KOptions requestOptions) throws KrbException
> However even if I set KrbOption.AS_ENTERPRISE_PN and use username like 
> "usern...@dns.domain.name" Kerby Client will treat the dns.domain.name as a 
> realm name despite the AS_ENTERPRISE_PN  setting



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to