List of usage examples for java.security PrivilegedActionException printStackTrace
public void printStackTrace()
From source file:com.redhat.tools.kerberos.SunJaasKerberosTicketValidator.java
public String validateTicket(byte[] token) { String username = null;/*from w ww. j a v a 2s . c o m*/ try { username = Subject.doAs(this.serviceSubject, new KerberosValidateAction(token)); } catch (PrivilegedActionException e) { e.printStackTrace(); } return username; }