List of utility methods to do Security
Credentials | ticketToCreds(KerberosTicket kerbTicket) ticket To Creds return new Credentials(kerbTicket.getEncoded(), kerbTicket.getClient().getName(), kerbTicket.getServer().getName(), kerbTicket.getSessionKey().getEncoded(), kerbTicket.getSessionKeyType(), kerbTicket.getFlags(), kerbTicket.getAuthTime(), kerbTicket.getStartTime(), kerbTicket.getEndTime(), kerbTicket.getRenewTill(), kerbTicket.getClientAddresses()); |
void | tryDestroy(Object destroyable) try Destroy if (!(destroyable instanceof Destroyable)) { return; Destroyable obj = (Destroyable) destroyable; if (!obj.isDestroyed()) { try { obj.destroy(); } catch (DestroyFailedException ignore) { ... |