OperationCode authOpCode = currentOp.getAuthzOperationCode(); int[] indices = currentOp.getIndices(); CredentialGenerator cGen = credentialGenerator.getCredentialGenerator(); final Properties javaProps = cGen == null ? null : cGen.getJavaProperties(); opCredentials = credentialGenerator.getDisallowedCredentials( new OperationCode[] {authOpCode}, new String[] {currentRegionName}, indices, newRnd); credentialsTypeStr = " unauthorized " + authOpCode; } else { opCredentials = credentialGenerator.getAllowedCredentials(new OperationCode[] {opCode, authOpCode}, new String[] {currentRegionName}, indices, newRnd); credentialsTypeStr = " authorized " + authOpCode;