[
https://issues.apache.org/jira/browse/DIRKRB-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508943#comment-14508943
]
Lin Chen commented on DIRKRB-228:
---------------------------------
Hi, Yaning, in the codes below:
{code}
if (identity == null){
System.err.println(princName + "doesn't exsit\n"
+ "Usage: getprinc principalName\n" +
"such as, getprinc [email protected]"
);
}
{code}
Since you have
{code}
private static final String USAGE = "Usage: getprinc principalName\n" +
"such as, getprinc [email protected]";
{code}
Why not just write the printing like below?
{code}
System.err.println(princName + "doesn't exsit")
System.err.println(USAGE);
{code}
> Enhance kadmin to support get principal
> ---------------------------------------
>
> Key: DIRKRB-228
> URL: https://issues.apache.org/jira/browse/DIRKRB-228
> Project: Directory Kerberos
> Issue Type: New Feature
> Reporter: Jiajia Li
> Assignee: Xu Yaning
> Attachments: DIRKRB-228-v1.patch
>
>
> Enhance kadmin to support get principal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)