class KerberosAuthority implements Authority {

    boolean isTargetPrincipal(KerberosTicket ticket, String remoteSvcPrincipal) {
        if (ticket == null) {
            return false;
        }

        KerberosPrincipal principal = ticket.getServer();
        if (LOG.isDebugEnabled()) {
            LOG.debug("KerberosAuthority:isTargetPrincipal: our princ=" + servicePrincipal + " ticket princ=" + principal.getName());
        }

        return principal.getName().equals(remoteSvcPrincipal);
    }

    public  KerberosAuthority(String servicePrincipal, String keyTabConfFile, String jaasConfigSection);
    public  KerberosAuthority();

}