Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
add startup log message for generic JAAS authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Jun 16, 2011
1 parent 26fcc8c commit e8b0c6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/zanata-war/src/main/java/org/zanata/ZanataInit.java
Expand Up @@ -166,17 +166,25 @@ public void initZanata() throws Exception
{
log.info("debug: enabled");
}
boolean authlogged = false;
if (isInternalAuthentication())
{
log.info("Internal authentication: enabled");
authlogged = true;
}
if (isFedoraOpenId())
{
log.info("Fedora OpenID authentication: enabled");
authlogged = true;
}
if (isSpNego())
{
log.info("SPNEGO/Kerberos authentication: enabled");
authlogged = true;
}
if (!authlogged)
{
log.info("Using JAAS authentication");
}
log.info("Enable copyTrans: {0}", getEnableCopyTrans());

Expand Down

0 comments on commit e8b0c6d

Please sign in to comment.