Ejemplo n.º 1
0
 public byte[] export() throws GSSException {
   // Defaults to null to match old behavior
   byte[] result = null;
   // Only allow context export from native provider since JGSS
   // still has not defined its own interprocess token format
   if (mechCtxt.isTransferable() && mechCtxt.getProvider().getName().equals("SunNativeGSS")) {
     result = mechCtxt.export();
   }
   return result;
 }