Fixed two problems found during testing with new encryption types:
o  TGS GetSessionKey would throw ClassCastException.
o  Introduced key usage to auth header verification.  Issue affected TGT auth header and service ticket auth header verification, eg Change Password.

git-svn-id: https://svn.apache.org/repos/asf/directory/apacheds/branches/kerberos-encryption-types@540005 13f79535-47bb-0310-9956-ffa450edef68
4 files changed